cf/mirror

Interesting Sequence

CF
40D2600· international gm3s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 4
Input
2
Output
YES
1
1
0
Sample 2of 4
Input
3
Output
NO
Sample 3of 4
Input
13
Output
YES
1
2
0
Sample 4of 4
Input
1729
Output
YES
1
4
1
156
40D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)