#include<iostream>
using namespace std;
int main()
{
int a , b , c ;
while (cin)
{
cin>> a >> b ;
c=(a-b);
if ((c>0)||(c==0))
cout<< c <<endl;
else
cout<<(-c)<<endl;
}
system("pause");
return 0;
}