#include using namespace std; int main() { int a, b; cin >> a >> b; int c = min( a, b ); int d = max( a, b ); cout << d - c << endl; }