a = int(input('Введите первое число: ')) b = int(input('Введите второе число: ')) if a > b: print(1) else: if b > a: print(2) else: print(0)