#include<iostream>
using namespace std;
int main()
{
int a;
while(cin>>a)
if(a>=0)cout<<a<<endl;
if(a<0)cout<<-a<<endl;
}