fork download
  1. while 1 :
  2. a = int(raw_input())
  3. if a == 42:
  4. break;
  5. print (a)
Success #stdin #stdout 0.01s 23352KB
stdin
1
2
88
42
99
stdout
1
2
88