#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 ; }