apples, oranges = 3, 8

if apples == oranges:
    print(apples + oranges)
elif abs(apples - oranges) == 5 or (apples + oranges) == 5:
    print(apples*oranges)
else:
    print(apples - oranges)


apples, oranges = 3, 8

if apples == oranges:
    print(apples + oranges)
elif abs(apples - oranges) == 5 or (apples + oranges) == 5:
    print(apples*oranges)
else:
    print(apples - oranges)

