Jump to content

User:Sridharinfinity/Programming Contests/Sphere Source/1

From Wikipedia, the free encyclopedia
# 1. Life, the Universe, and Everything
# Problem code: TEST

process = True
while 1:
    try:
        num = raw_input()
        if process:
            num = int(num)
            if num != 42:
                print num
            else:
                process = False
    except EOFError:
        raise SystemExit