{"raw_statement":[{"iden":"problem statement","content":"You are given a positive integer $N$.  \nFind the number of quadruples of positive integers $(A,B,C,D)$ such that $AB + CD = N$.\nUnder the constraints of this problem, it can be proved that the answer is at most $9 \\times 10^{18}$."},{"iden":"constraints","content":"*   $2 \\leq N \\leq 2 \\times 10^5$\n*   $N$ is an integer."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$N$"},{"iden":"sample input 1","content":"4"},{"iden":"sample output 1","content":"8\n\nHere are the eight desired quadruples.\n\n*   $(A,B,C,D)=(1,1,1,3)$\n*   $(A,B,C,D)=(1,1,3,1)$\n*   $(A,B,C,D)=(1,2,1,2)$\n*   $(A,B,C,D)=(1,2,2,1)$\n*   $(A,B,C,D)=(1,3,1,1)$\n*   $(A,B,C,D)=(2,1,1,2)$\n*   $(A,B,C,D)=(2,1,2,1)$\n*   $(A,B,C,D)=(3,1,1,1)$"},{"iden":"sample input 2","content":"292"},{"iden":"sample output 2","content":"10886"},{"iden":"sample input 3","content":"19876"},{"iden":"sample output 3","content":"2219958"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}