Загрузка данных
x = int(input()) y = int(input()) A = int(input()) B = int(input()) if x > y: print(A) elif y > x: print(B)