#3571. QQ solver

0

QQ solver

QQ solver

题目描述

You are given a 33-character string SS, which is a concatenation of integers aa and bb between 11 and 99 (inclusive) and the character xx in this order: axbaxb. Find the product of aa and bb.

输入格式

Input is given from Standard Input in the following format: SS

输出格式

Print the answer.

3x7
21
9x9
81
1x1
1

提示

The length of SS is 33. The 11-st and 33-rd characters are digits between 11 and 99 (inclusive). The 22-nd character is xx.We have 3×7=213 \times 7 = 21, which should be printed.

标签: AtCoder|abc232A

来源

AtCoder|abc232A