#include int main(){ int A,C; std::cin >> A >> C; int B = A-C; if(B < 0){ B += (B * (-2)); } std::cout << B << std::endl; return 0; }