# frozen_string_literal: true def solve (1..N).map { N / _1 }.uniq.size end N = gets.to_i puts solve