#include<iostream>
using namespace std;
int main(){
int i = 3, j = ++i, k = ++i;
cin >> i;
cout << k + i << j - i << i * i;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCl7CgoKaW50IGkgPSAzLCBqID0gKytpLCBrID0gKytpOwoKY2luID4+IGk7CmNvdXQgPDwgayArIGkgPDwgaiAtIGkgPDwgaSAqIGk7CgoKcmV0dXJuIDA7Cn0=