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