#include using namespace std; using ll=long long; int main(){ ll N;cin>>N; int ans=0; auto is_sqr=[&](ll x)->bool{ ll t=sqrtl(x); for(ll j=t-10;j