Score : $300$ points
Given a positive integer $K$, find the number of triples of positive integers $(A, B, C)$ such that $ABC \leq K$. Two triples that only differ in the order of numbers are also distinguished.
Input is given from Standard Input in the following format:
$K$
Print the number of triples of positive integers $(A, B, C)$ such that $ABC \leq K$.
2
4
We have the following triples: $(1,1,1),(1,1,2),(1,2,1),(2,1,1)$.
10
53
31415
1937281