#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 A={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47}; int cur=1,cnt=0; rep(i,15){ if(cur*A[i]<=n){ cur*=A[i]; cnt++; } } cout<