#include <bits/stdc++.h> using namespace std; int x; int main() { cin >> x; cout << 2 << "\n"; if (x % 2 == 0) { cout << x / 2 - 1 << " " << x / 2 + 1; } else { cout << x / 2 << " " <<x- x / 2 ; } return 0; }
使用您的 蒙青创OJ 通用账户