require 'prime'

n = gets.chomp.to_i
a = (1..n).map {|i| i if n % i == 0 }.compact
cnt = 0
list = []

a.each do |i|
  a.each do |j|
    next if i * j != n
    list.push i.to_s << j.to_s
  end
end

puts list.uniq.size