import Foundation

func main() {
 var n = Int(readLine()!)!
 var res = 1
 
 if (n == 2) {
   print(res)
 } 
 
 var i = 1
 for i in 2...n-1 {
  var dic: [Int:Int] = [:]	
  var j = 2
  var k = i
  while k >= j {
    if (k%j == 0) {
     if let before = dic[j] {
       dic.updateValue(before + 1, forKey: j)
     } else {
       dic[j] = 1
     }
     k = k / j
    } else {
     j += 1
    }
  }
   var temp = 1
   for (k, v) in dic {
    temp = temp * (v+1)
   }
   res += temp
 }

 print(res)
}

main()