#一行输入两个整数,以空格间隔
x,y = input().split()
#输出比较结果
print(x == y)