#include using namespace std; typedef long long ll; ll f(ll m) { if(m==0) return 0; ll res = 0; ll i = 1; while(i*i>n>>m; cout<