#include <iostream>using namespace std;int main(){ long long int s, b; while(cin>>s>>b){ if(s-b!=0) (s>b)?cout<<s-b<<endl:cout<<b-s<<endl; else cout<<"0"<<endl;}}