N = gets.to_i puts (1..N).map { |x| N / x }.uniq.size