import math n = int(input()) r = math.sqrt(n/3) result = r * math.pow(10, 6) print(result)