#include using namespace std; typedef unsigned long long ull; typedef long long ll; int main(){ ll n; cin >> n; ll sq=(ll)(sqrt(n)), ans=0; if(sq*sq==n) ans++; for(int i=1; i*i