#!/usr/bin/env python3
input(), print(sum(float(c) ** 3 for c in input().split()) ** 0.3333333)  # Not enough 3s here
