#include<bits/stdc++.h>
using namespace std;



int main() {
    int n;
    cin>>n;

    if (n == 1) {
        cout<<1<<endl;
        return 0;
    }
    if (n == 0) {
        cout<<2<<endl;
        return 0;
    }
    cout<<2-n*n<<endl;
    return 0;

    int SZ = (n+100)*1024*1000/4;
    vector<int> v(SZ);

    for (int i=0; i<SZ; i++)    v[i]= rand();
    if (v[rand()%SZ] == 0)      cout<<2<<endl;
    else    cout<<1<<endl;

}
