import sys def main(): sys.setrecursionlimit(100000) input = lambda: sys.stdin.readline()[:-1] L, R = map(int, input().split()) print(1) if not __debug__: f = open(sys.argv[1], "r") sys.stdin = f try: sys.set_int_max_str_digits(100000) except AttributeError: pass main()