#include using namespace std; typedef long long ll; int main(){ ll m,a; cin>>m; a=m; double b=sqrt(m); if(a%2==0){ a/=2; cout<<2<<" "<