fork download
  1. while((num = readline()) != 42) {
  2. print(num);
  3. }
Success #stdin #stdout 0.03s 16784KB
stdin
1
2
10
42
11
stdout
1
2
10