#include <iostream>
#include <math.h>
using namespace std;
int main() {
long long t;
long long r;
t=975265754974037100ll;
cout.precision(21);
r=sqrt(t+0.5);
cout<<r<<" "<<r*r<<" "<<t-r*r<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWF0aC5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CmxvbmcgbG9uZyB0Owpsb25nIGxvbmcgcjsKCnQ9OTc1MjY1NzU0OTc0MDM3MTAwbGw7CmNvdXQucHJlY2lzaW9uKDIxKTsKcj1zcXJ0KHQrMC41KTsKY291dDw8cjw8IiAiPDxyKnI8PCIgIjw8dC1yKnI8PGVuZGw7CgoJcmV0dXJuIDA7Cn0=