N = gets.to_i puts (1 .. 1 << 20).bsearch{|r| r ** 2 * 3 >= N }