fork(1) download
  1. while True:
  2. x=int(raw_input())
  3. if x!=42:
  4. print x
  5. else:
  6. break
Success #stdin #stdout 0s 7856KB
stdin
25
5
56
42
56
stdout
25
5
56