#P17281. 「IXOI R2」阴圆
「IXOI R2」阴圆
Background
Obito and Rin are a great ship.
Problem Description
Rin has integers .
Obito can now choose at least numbers and obtain their greatest common divisor. After each choice, the numbers are not removed, and the next time he can choose repeatedly.
Obito can make any number of choices. Ask how many different numbers he can obtain.
Input Format
One line with one integer .
Output Format
One line, output the answer.
3
1
4
2
Hint
Sample Explanation
Sample #1:
The greatest common divisors are , so there is one in total.
Sample #2:
It can be obtained that there are two different greatest common divisors in total.
Constraints
This problem uses bundled testdata.
| Subtask | Score | |
|---|---|---|
For all data, it is guaranteed that:
。
Translated by ChatGPT 5