"""
Recommended Python Style Guide:
https://peps.python.org/pep-0008/#introduction
"""

"""
Read integer numbers from the input as long as the provided number is not negative.
Print the negative number received.
"""

n = 0
while n >= 0:
    # Take a new number from the input
    # as long as the previously received number is >= 0
    n = int(input(""))

print(n)
