#include // #include // using namespace atcoder; #define _overload3(_1,_2,_3,name,...) name #define _rep(i,n) repi(i,0,n) #define repi(i,a,b) for(int i=int(a);i=int(0);--i) #define fore(i,a) for(auto &i:a) #define all(x) x.begin(),x.end() #define sz(x) ((int)(x).size()) #define bp(x) (__builtin_popcount((long long)(x))) #define pb push_back #define eb emplace_back #define mp make_pair #define V vector #define P pair #define TP tuple #define F first #define S second templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b>n; V a(n+1); rep(i,n+1)a[i]=i; for(ll i=2;i*i<=n;i++){ for(ll j=i*i;j<=n;j+=i*i){ while(a[j]%(i*i)==0)a[j]/=i*i; } } ll ans=0; rep(i,1,n+1){ ans+=sqrt(n/a[i]); } cout<