https://ac.nowcoder.com/acm/contest/95700/L
简单一道思维题
#include <cstdio>
#include <iostream>
#include <string>
#include <cstring>
#include <cmath>
#include <algorithm>
using namespace std;
using ll = long long int;
int main()
{
ll n;
cin >>n;
if(n==1)
{
cout << "YES"<<endl;
cout << 2 <<' '<<3;
}
else if(n==2)
{
cout <<"NO";
}
else cout <<"YES"<<endl<<2<<' '<<n;
return 0;
}