Run ID:138674

提交时间:2025-11-29 13:54:15

#include<bits/stdc++.h> using namespace std; int main(){ int m; bool b=1; cin>>m; for(int i=1;i<=m;i++){ if(m%i==0){ b=0; } } if(b==0){ cout<<"no"; } else{ cout<<"yes" } return 0; }