#include<bits/stdc++.h> using namespace std; int main() { int x; cin>>x; cout<<8<<' '<<12*(x-2)<<' '<<6*(x-2)*(x-2); return 0; }