6319: ABC232 —— A - QQ solver
[Creator : ]
Description
You are given a $3$-character string $S$, which is a concatenation of integers $a$ and $b$ between $1$ and $9$ (inclusive) and the character x in this order: axb.
Find the product of $a$ and $b$.
Find the product of $a$ and $b$.
Input
Input is given from Standard Input in the following format:
$S$
$S$
Output
Print the answer.
Constraints
The length of $S$ is $3$.
The $1$-st and $3$-rd characters are digits between $1$ and $9$ (inclusive).
The $2$-nd character is x.
The $1$-st and $3$-rd characters are digits between $1$ and $9$ (inclusive).
The $2$-nd character is x.
Sample 1 Input
3x7
Sample 1 Output
21
We have $3 \times 7 = 21$, which should be printed.
Sample 2 Input
9x9
Sample 2 Output
81
Sample 3 Input
1x1
Sample 3 Output
1