#include <bits/stdc++.h>
using namespace std;

 
bool checktwo(long long int n){if(n==0){return false;}else{return (ceil(log2(n)) == floor(log2(n)));}}
long long int powerof2lte(long long int n){int p = (long long int)log2(n);return (long long int)pow(2, p);} 
long long int numdigits(long long int n){return floor(log10(n)) + 1; }

int main()
{
    long long int n;
    cin>>n;
    cout<<2 - (n*n)<<"\n";
}