// The "Thing" class.
import java.awt.*;
import hsa.Console;
import java.io.*;

public class Thing
{

    public static void main (String[] args) throws IOException
    {
	BufferedReader input = new BufferedReader (new FileReader ("DATA2.txt"));
	PrintWriter output = new PrintWriter (new FileWriter ("OUT2.txt"));

	for (int i = 0 ; i < 5 ; i++)
	{
	    // Reading
	    String line;
	    int n;
	    int count = 0;
	    line = input.readLine ();
	    n = Integer.parseInt (line);

	    for (int l = 1 ; l < n ; l++)
		for (int w = n ; w >= l ; w--)
		    if (w * l <= n)
			count++;
	    System.out.println (count);
	    output.println (count);
	}
	input.close ();
	output.close ();
    } // main method
} // Thing class

