atcoder#ARC118C. [ARC118C] Coprime Set
[ARC118C] Coprime Set
Score : points
Problem Statement
Given is a positive integer . Print an integer sequence satisfying all of the following:
- ;
- and for ;
- .
We can prove that, under the Constraints of this problem, such an integer sequence always exists.
Constraints
Input
Input is given from Standard Input in the following format:
Output
Print the elements in your integer sequence satisfying the conditions in one line, with spaces in between.
If multiple sequences satisfy the conditions, any of them will be accepted.
4
84 60 105 70
All of the conditions are satisfied, since we have: