Var a,b:integer;
      s:real;
Begin
      read(a,b);
      s:=abs(a-b);
      write(s);
end.