#include<bits/stdc++.h> using namespace std; int main(){ for(i=2;i<=sqrt(n);i++) { if (n%i==0) { return 0; } } }