arvud=[int(a.strip()) for a in open("arvud.txt", "r")] print(sum(arvud)/len(arvud)) abi=1 for a in arvud: abi=abi*a print(abi**(1.0/len(arvud)))