#!/usr/bin/env python3
input(), print(sum(float(c) ** 3 for c in input().split()) ** (1 / 3))
