#include<bits/stdc++.h> using namespace std; bool isPrime(int y) { if(y<2) { return false; } for(int i=2;i<=y/i;i++) { if(y%i==0) { return false; } } return true; } int main() { int n; cin>>n; if(isPrime(n)) cout<<"yes"; else cout<<"no"; return 0; }
Using your lizikid universal account