#include using namespace std; int main(){ int n; cin >> n; if (n < 256) { n += 256; } n = (n << 16) >> 16; n *= n; n = (n << 8) >> 16; cout << n << endl; return 0; }