这是链接
#include<bits/stdc++.h> using namespace std; int n; int main() { cin>>n; if(n<4){ cout<<"NO"; } cout<<"YES"<<"\n"; cout<<2<<" "<<n-1; }