We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
N, M = map(int, input().split()) print([0, 1][N == M])