puts (1..(n = gets.to_i)).map{|i| n/i }.uniq.size