import sys

x = input().split()

print(x[0] == x [1])
# 抄答案