#include<iostream>using namespace std;unsigned short in;int main(){while(cin>>in){ cout<<in*in-in+2<<'\n';}return 0;}
#includeusing namespace std;unsigned short in;int main(){while(cin>>in){ cout<<in*in-in+2<<'\n';}return 0;}
8行!!!