Module Module1

    Sub Main()

        Dim ab As String
        Dim asd() As String
        Dim A As Integer
        Dim B As Integer

        Dim a1 As Integer
        Dim a2 As Integer
        Dim a3 As Integer

        Dim s As Integer

        ab = Console.ReadLine

        asd = Split(ab, " ")

        A = asd(0)
        B = asd(1)

        a1 = (A + B)

        a2 = (A - B)

        a3 = (A * B)

        If (a1 > a2) Then
            If (a1 > a3) Then
                s = a1
            Else
                s = a3
            End If
        Else
            If (a2 > a3) Then
                s = a2
            Else
                s = a3
            End If
        End If

        Console.WriteLine(s)

    End Sub

End Module
