#include using namespace std; int main() { ios::sync_with_stdio(0); int a, b; cin >> a >> b; cout << abs(a - b) << '\n'; }