Problem:
Score : 100 points

Problem Statement

We have two integers: A and B.

Print the largest number among A + B, A - B, and A \times B.

Constraints

All values in input are integers.

-100 \leq A,\ B \leq 100

Input

Input is given from Standard Input in the following format:

A B

Output

Print the largest number among A + B, A - B, and A \times B.

Sample Input 1

-13 3

Sample Output 1

-10

The largest number among A + B = -10, A - B = -16, and A \times B = -39 is -10.

Sample Input 2

1 -33

Sample Output 2

34

The largest number among A + B = -32, A - B = 34, and A \times B = -33 is 34.

Sample Input 3

13 3

Sample Output 3

39

The largest number among A + B = 16, A - B = 10, and A \times B = 39 is 39.

Solution in Ruby (2.3.3) (judge verdict: Accepted)

#                                                    ..amNNP...........ZfYNNwwq....
#                                            .ymP.....................................YVq..
#                                       .pP......a...........................................NW.
#                                   .m......mf..........wP...........yP...........................Vp                  .
#                               .m......r..  .......mP.....m......gN.................................Xq
#                            yP.....m....  .....yP......d.....jdQP................jC....................N.
#           .             yC.....m...........gN.....yNC....jP..E...   ..........jN........................J.
#                      .C.....a...........pQP....r.K.....r. .pgN.............jNN....i.......................Kp
#                    y......P...........EyN...g..y.....r.  jNy.............yC.y...jh..........................t.          .E
#                   P..jC.qAP..jn....jN.hf..g...h....A.   yCj............jC  g...yN.......A....................lp       .NNN
#                    m..p.r.jpO.....p.y.F.p.  J......v   K.jPPmq........r.  jp..gj.......h......................jp   ..pNNNN
#                  d..g..C.dP.ypN...    .                  .     ...Ywp.    jN.j.N......j.......................L..  gNNNNNN
#                r......f.dV..jN.                                          .Cgy.j......yN.....K..................pjjBNNNNNNN
#              r..............y.                                            ..f.N.....jOP....jC..................lpNNNNNNNNN
#           .p.C...j.........jk      .ypNNNNNNNNpc                              h.....hy..k..p...................BNNNNNNNNNN
#          gr.....I.........jNP    jN..   ..pp....                                k..Pqk.N..j..................gNNNNNNNNNNNN
#        jP.L...jC.........yP..   K.    YNNNNNNNC                                  .f j.gP..N................yNNpNNNNNNNNNNN
#       p.y....p.........jE. j.       ypNNNNNNNN.                    vmNNNNNp..       hOK..h...............yNNNNNNNNNNNNNNNN
#   Ncj. J...lF........jN.hy L        fN...P.YN.                          ...JNNp    M.j..f......h........gNNNNNNNNNNNNNNNNN
#   NpNNp....p........g. j..h.          ......                         qNNNNNNN.JN.   jp.p......C.....j..jNNNNNNNNNNNNNNNNNN
#   NNNy..gpf....j...P   .qB.  ..                                    ypypNNNNNNN .N.   jN.....jC.....f..yNNNNNNNNNNNNNNNNNNN
#   NNqH.fNN....jh.g. gC..N.                                        jNNNNNNNNNNN  jC  .yC....p......Np.gNNNNNNNNNNNNNNNNNNNN
#   NNg.gNQn....p.P    ..QN.                                         lp.....jNP   ..  g....jN.....yP.NNNNNNNNNNNNNNNNNNNNNNN
#   NNhpNNk....jjNNp.    .Jp                                            ....      . .p....p......h.jNbNdNNNNNNNNNNNNNNNNNNjP
#   NNNNNNbp...NNNNNNNNNp. JC            .ypqqqp.....            .                 jO...gC.....yVjNNNNNhNNNNNNNNNNNNNNNNqP
#   NNhNNNOp..gNNNNNNNNNNNNNpg.         .N.............Ywc.                      .M...yC.....yC.BNNNqNjNNNNNNNNNNNNNNNNp.
#   NNNNNNNN.jNNNNNNNNNNNNNNNNNp.        fp................k                   .d...yP.....yC.gNNNNNhNNNNNNNNNNNNNNNNgN.
#   NNNNNNNNpjNNNNNpNNNNNNNNNNNNNb.       .Kp..............g.                .p....E.....yC.gNNNNNNpNNNNNNNNNNNNNNNqpOaM.i
#   NNNNNNpNNpNNNNNNNNNNNNNNNNNNNNNjp.        .  ..........                .p..........y..gNNNNNNNyNNNNNNNNNNNNNNNqC....h
#   NhNNNNNNpNNNNNNNNNNNNNNNNppgP..jNPlW..                               .r.yC......yNNjNbNNNNNNNqNNNNNNNNNNNNNNqp....P.
#   NpNhNNNNNNpNNNNNNNNNNNNNpC....j.......lN.......    ............mmnPjC.r......jMPPjNNNqNNNNNNNNNNNNNNNNNNNNNgC..P.
#     .QpNNNNNNNpNNNNNpNNjP.a.....h ...........jNNNNNNP...........jygpOg......yP..jNNqNNNNNNNNNNNNNNNNNNNNNNNqNPNNPNP
#        JQNNNNNNNpNNNNp..J......l.  ...K.....gNb........jpNPl....jNgE..jrjr..yCpNNNyNNNNNNNNNNNNNNNNNNNNNNNgNP...
#          .NNNNNNNNpy.r.........k    ...b....jOjaAP............ybNC.qNN...yCjNNNNNgNNNNNNNNNNNNNNNNNNNNNNqN.        .
#            lNNNNNpbC..........jC   . ..jNPjpp..............jNgpN.......gpNbhNNNNqNNNNNNNNNNNNNNNNNNNNNNpjp



a,b = gets.split.map(&:to_i)
puts [a+b,a-b,a*b].max