#AT2013. A - QQ solver
A - QQ solver
当前没有测试数据。
A - QQ solver
Score : $100$ points
Problem Statement
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$.
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
.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
3x7
21
We have $3 \times 7 = 21$, which should be printed.
9x9
81
1x1
1