#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 2e6 + 5;
const ll mod = 1e9 + 7;
string s;
ll x;
int main() {
    ios_base::sync_with_stdio(false);
    cin >> x;
    cout << 2 - x * x << "\n";
    return 0;
}