#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int a,b,diff;
while((scanf("%lld%lld",&a,&b)!=EOF))
{
diff=abs(a-b);
printf("%lld\n",diff);
}
return 0;
}
Note: You have to take long long as it is wanted in the description 2^32