numeros = [7, 3, 10, 1, 5, 9]
mayor = max (numeros)
menor = min (numeros)
for resultado in numeros:
resultado = mayor - menor
print (resultado)
bnVtZXJvcyA9IFs3LCAzLCAxMCwgMSwgNSwgOV0KbWF5b3IgPSBtYXggKG51bWVyb3MpIAptZW5vciA9IG1pbiAobnVtZXJvcykgCmZvciByZXN1bHRhZG8gaW4gbnVtZXJvczoKICAgIHJlc3VsdGFkbyA9IG1heW9yIC0gbWVub3IKcHJpbnQgKHJlc3VsdGFkbykKCg==