#include<bits/stdc++.h>
#define IOS ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);
#define nline "\n"
using ll=long long;
using namespace std;
int main(){
    IOS
    int t = 1;
    //cin>>t;
    while(t--){
        int num;
        cin >> num;
        cout << 2 - num * num << nline;
    }
    return 0;
}