Source Code
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
    ll x;
    cin>>x;
    if(x > 2){
        cout<<2<<endl;
        cout<<x-1<<" "<<1<<endl;
    } else
        cout<<x<<endl;
    return 0 ;
}
Copy
Want More! sarah_alsharif_
GNU G++17
1 ms
360 KB
Wrong Answer