#include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
int n;
while(cin>>n)
if(n>=0)
cout<< n <<"\n";
else
cout<< 0-n <<"\n";
return 0;
}