fork download
  1. import sys
  2.  
  3. while True:
  4. try:
  5. n = input()
  6. if not n:
  7. print("IMPOSSIBLE")
  8. break
  9. if int(n) == 19: print(19)
  10. break
  11. except EOFError:
  12. print("IMPOSSIBLE")
  13. break
  14.  
Success #stdin #stdout 0.1s 14144KB
stdin
5
6
8
2
stdout
Standard output is empty