function main(input) {
  	const total = parseInt(input.split('\n')[0], 10)
	let c = 1
    let num = 0
	
    while(c <= total) {
    	const multipleVal = total - c
        c++
      	let b = 1
	    while(b <= multipleVal) {
			let a = 1
	    	while(a * b <= multipleVal) {
    			if(multipleVal === a * b) num++
        		a++
    		}
          b++
    	}
    }
	console.log(num)
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));
