P24250 [AtCoder] QQ solver
入门
题目描述

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.

Input

Input is given from Standard Input in the following format:
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.

Sample Input 1

3x7

Sample Output 1

21

We have $3 \times 7 = 21,$ which should be printed.

Sample Input 2

9x9

Sample Output 2

81

Sample Input 3

1x1

Sample Output 3

1

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
3x7
样例输出
21