Run ID:138834
提交时间:2025-11-30 11:24:35
#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; }