#include <bits/stdc++.h>

using namespace std;
using pii = pair<int, int>;
using ll = long long;
using pll = pair<ll, ll>;

const int N = 2e5 + 5;

#define MOD 1000000007

char grid[11][11];

int main() {
    ios_base::sync_with_stdio(false);

    int n; cin >> n;
    cout << 2 - n * n << "\n";

    return 0;
}



