fork download
  1. x = int(input())
  2. while x != 42
  3. printl(x)
  4. x = int(input())
  5. end
  6.  
Success #stdin #stdout 0.01s 6768KB
stdin
1
2
10
42
11
stdout
1
2
10