f(x) = √abs(x) + 5x^3 for i in reverse(split(readline())) v = f(parse(Int, i)) println("$(i): ", v > 400 ? "TOO LARGE" : v) end