Chat in Telegram

Find maximum product of two integers

EASY

Given an input string with numbers separated by a single space.

Find a maximum product of two integers in this line.

INPUT:
string with integers; minimum count of integers = 2

OUTPUT:
integer; maximum product of two numbers

Example #1

Input

1 2 3 4

Output

12

Solution