x = int(input()) y = int(input()) if y > x: print("Yes") elif x > y: print('NO') else: print("equal probability")