#include<bits/stdc++.h>
using namespace std;
int main(){
    int n;
    cin>>n;
    if(n==0){
        cout<<0<<endl;
    }else{
        cout<<abs(n)<<endl;
    }
}
/**************************************************************
	Problem: 1348
	User: linmiaoling
	Language: C++
	Result: Accepted
	Time:10 ms
	Memory:2072 kb
****************************************************************/