#include using namespace std; const vector dx = {0, 0, 1, -1}; const vector dy = {1, -1, 0, 0}; #define vec vector #define int long long #define double long double //cout< #define pq priority_queue #define all(V) begin(V),end(V) #define printpair(p) cout< template inline bool chmax(T &a, const U &b) { if (a < b) { a = b; return true; } return false; } template inline bool chmin(T &a, const U &b) { if (a > b) { a = b; return true; } return false; } #define nexper(Z) next_permutation(all(Z)) #define pb push_back signed main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin>>n; vec E(1e9+7,true); E[1]=E[0]=false; for(int i=2;i*i<=n;i++){ if(!E[i]){continue;} for(int j=i+i;j*j<=n;j+=i){ E[j]=false; } } int cur=1,cnt=0; for(int i=2;i*i<=n;i++){ if(cur<=n/i){ cur*=i; cnt++; } } cout<