a = int(input()) b = int(input()) c = int(input()) d = int(input()) x = ab-cd print(“DIFERENCA = ” + str(x))