fork download
  1. while(1 ==1):
  2. liczba = int(input())
  3. print(liczba, end=" ")
  4. if liczba < 0:
  5. break
Success #stdin #stdout 0.12s 14076KB
stdin
1
-1
2
2
stdout
1 -1