fork download
  1. import sys
  2.  
  3. while True:
  4. try:
  5. n = int(input())
  6. if n == 19:
  7. print("19")
  8. break
  9. except:
  10. print("IMPOSSIBLE")
  11. break
  12.  
  13.  
Success #stdin #stdout 0.13s 14076KB
stdin
2
5
2
19
4
3
stdout
19