main = readLn >>= print . yutori yutori n = round (sqrt (n/3))