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