fork download
  1. a = int(input())
  2. if a < 1000 and a > 500:
  3. print("yes")
  4. else:
  5. print("no")
Success #stdin #stdout 0.08s 14024KB
stdin
700
stdout
yes