import os import math def main(): dat = os.read(0, 20000010).decode().split('\n') ans = 0 for x in dat[1:-1]: x = int(x) x *= 10**40 ans += math.isqrt(x) d = str(ans // 10**20) s = str(ans)[:len(d)] + "." + str(ans)[len(d):] print(s[:19]) if __name__ == "__main__": main()