/**
 *    author:  tourist
 *    created: 01.04.2021 17:51:55       
**/
#include <bits/stdc++.h>

using namespace std;

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int x;
  cin >> x;
  cout << 2 - x * x << '\n';
  return 0;
}
