Root decomposition problem with large constraints
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Positive integer is given. Find how many different numbers among the numbers , , , .
Input
One integer .
Output
Print one number — the number of different integers among , , , .
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #3
Answer #3
Note
In the first example we consider only one number: , so the answer is .
In the second example we have , so the answer is .
In the third example we have , and also , just two different numbers.
Submissions 380
Acceptance rate 45%