Run ID:138835
提交时间:2025-11-30 11:25:18
#include<bits/stdc++.h> using namespace std; int main(){ bool s=1; int i,n=2; cin>>i; while(n>i){ if(i%n==0){ s=0; } } if(s==1){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }