import kotlin.math.pow fun main() { readln() println(readln().split(" ").sumOf { it.toDouble().pow(3) }.pow(1 / 3.toDouble())) }