a = float(input())
b = float(input())
if a > b:
a+=10
b-=5
elif a == b:
print('Numbers is equal')
else:
a-=5
b+=10
a = float(input())
b = float(input())
if a > b:
a+=10
b-=5
elif a == b:
print('Numbers is equal')
else:
a-=5
b+=10