#include"bits/stdc++.h" //#include using namespace std; #define print(x) cout<> n; for (int i = 3;i<=sqrt(n)+10;i++) { if (n%i == 0) { print(i); return 0; } } print(n); return 0; }