Run ID:163913

提交时间:2026-10-31 14:48:10

#include<iostream> using namespace std; int a,b = 1,c; int main() { cin>>a; while(b<=a){ if(a%b==0){ c = c+1; } b++; } if(c == 2){ cout<<"Yes"; }else{ cout<<"No"; } return 0; }