import math x = float(input()) y = float(input()) z = float(input()) x2z = math.pow(x, z) z2 = math.pow(z, z) y2z = math.pow(y, z) xy2z = math.pow(x, y2z) xfabs = math.f