# L != Rである限り1のはず、なぜならgcd(N, N+1)=1だから L, R = map(int, input().split()) print(1)