Time limit: 1s
Memory limit: 64MB
Input:
Output:
Task
After he memorized the multiplication table, Gigel can now multiply two integers between and (including and ), without being able to perform other multiplications.
Given two integers and , figure out whether Gigel can multiply them or not. If he can do it, print (), otherwise print .
Input data
The first line of the input contains two integers, and .
Output data
The output will contain a single integer, () if Gigel can multiply them, otherwise print .
Constraints and clarifications
Example 1
stdin
7 6
stdout
42
Example 2
stdin
5 12
stdout
-1