#abc232a. [abc232_a]QQ solver
[abc232_a]QQ solver
Problem Statement
You are given a -character string , which is a concatenation of integers and between and (inclusive) and the character x
in this order: axb
.
Find the product of and .
Constraints
- The length of is .
- The -st and -rd characters are digits between and (inclusive).
- The -nd character is
x
.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
3x7
Sample Output 1
21
We have , which should be printed.
Sample Input 2
9x9
Sample Output 2
81
Sample Input 3
1x1
Sample Output 3
1