#include using namespace std; int main(){ cin.tie(0),ios::sync_with_stdio(false); int64_t n; cin>>n; int64_t ans=0; for(int64_t i=1;i*i