fork download
  1. sum = int(input())
  2. while sum < 42:
  3. print(sum)
  4. sum = int(input())
Success #stdin #stdout 0.02s 5864KB
stdin
1
2
10
42
11
stdout
1
2
10