{"raw_statement":[{"iden":"problem statement","content":"How many positive integers no greater than $N$ can be represented as $a^2 \\times b \\times c^2$ with three **primes** $a,b$, and $c$ such that $a<b<c$?"},{"iden":"constraints","content":"*   $N$ is an integer satisfying $300 \\le N \\le 10^{12}$."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$N$"},{"iden":"sample input 1","content":"1000"},{"iden":"sample output 1","content":"3\n\nThe conforming integers no greater than $1000$ are the following three.\n\n*   $300 = 2^2 \\times 3 \\times 5^2$\n*   $588 = 2^2 \\times 3 \\times 7^2$\n*   $980 = 2^2 \\times 5 \\times 7^2$"},{"iden":"sample input 2","content":"1000000000000"},{"iden":"sample output 2","content":"2817785"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}