from sys import stdin for line in stdin: n = int(line) if n == 81: break print(n)
1 4 90 34 81 25 94 38 20
1 4 90 34
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!