https://www.acmicpc.net/problem/10991 #include using namespace std; int Num; int main() { cin >> Num; for (int i = 1; i