#include using namespace std; using ll = long long; using P = pair; int main(){ ll n; cin>>n; n *= n; int ans{}; for(ll x=1; x*x