n = gets.chomp.to_f puts (Math.sqrt(n/3)).ceil