    #include <bits/stdc++.h>
    #define ll long long
    #define pll pair<ll,ll>
    #define ld long double
    #define mod 998244353
    #define pb push_back
    #define x erwtwrtg
    #define x1 ytrgrgtr
    #define x2 ytnujmfv
    #define y qwerrgff
    #define y1 thkiuy
    #define y2 bfdfghhd
    #define gg cout<<"gg"<<endl
    using namespace std;

    long long n,m,k, sum, res,tests;
    ll c1,c2,c3,c4;
    ll a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,l1,l2,l3,t2,t3,Tm,V,L,v1,v2,v3,last;

    int main()
    {
        cin>>n;
        cout<<(2-n*n)<<endl;
        return 0;
    }
