#include <iostream>
#include <vector>
#include <set>
#include <cmath>
#include <string>
#include <queue>
using namespace std;
typedef long long ll;
int main()
{
	int n;
	cin >> n;
	cout << 2 - n * n;
}