100 atcoder#ABC232A. [ABC232A] QQ solver
[ABC232A] QQ solver
Score : points
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.
3x7
21
We have , which should be printed.
9x9
81
1x1
1