import Foundation

func main() {
 var n = Int(readLine()!)!
 var res = 1
 
 if (n == 2) {
   print(1)
 } 
 
 var i = 1
 for i in 2...n-1 {
  var j = 1
  var endNum = i / 2
  for j in 1 ... endNum {
    if (i%j == 0) {
      res += 1
    }
  }
  res += 1
 }

 print(res)
}

main()