# print("We will be finding out the remainder from 2 numbers.")
# print("Give me the first number:")
# firstNumber = float(input())
# print("Now give me one more number:")
# secondNumber = float(input())
#
#
# def remainder():
#     theRemainder = divmod(firstNumber, secondNumber)
#     print(theRemainder)
#     print("The first number is the quotient, and the second is the remainder.")
#
#
# remainder()
#
divisor = 7%2
print(divisor)