Save the problem!
865A1400· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
18
Output
30 41 5 10 25
Sample 2of 3
Input
3
Output
20 25 2
Sample 3of 3
Input
314
Output
183 46 5 2 139
58%
865A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)