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