Program TwoNumbers;
Var a,b: integer;
Begin
ReadLn(a,b);
If a>b then WriteLn(a+b);
If a<b then WriteLn(b-a);
If a=b then WriteLn(a*b)
End.