fork download
  1. x = "12345";
  2. print(x);
  3.  
  4. while((num = readline()) != 42) {
  5. print(num);
  6. }
Success #stdin #stdout 0.03s 18532KB
stdin
1
2
10
42
11
stdout
12345
1
2
10