#include <iostream>#include <cmath>using namespace std;int main(void){ ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL); long long a,b; cin>>a>>b; cout<<abs(a-b)<<"\n";
return 0;}