val = []
p = input('Digite uma sequência de números ').split()
for i in range(0, 4):
val.append(float(p[i]))
dmFsID0gW10KcCA9IGlucHV0KCdEaWdpdGUgdW1hIHNlcXXDqm5jaWEgZGUgbsO6bWVyb3MgJykuc3BsaXQoKQpmb3IgaSBpbiByYW5nZSgwLCA0KToKICAgIHZhbC5hcHBlbmQoZmxvYXQocFtpXSkp