/****************************************************
Author: LuckyQueen
time: 2011.11.28 11:49
Problem solution: 就是b - a 不过wa好多次 因为我认为b>a
其实不一定
*****************************************************/
#include <iostream>
#include <cstdlib>
#include <cstdio>
using namespace std;
int main()
{
long long a, b;
while (scanf("%lld%lld", &a, &b) != EOF)
{
printf("%lld\n", (b-a)>0?(b-a):(a-b));
}
return 0;
}
LuckyQueen is the best!!!