QQ solver

AtCoder
IDabc232_a
Time2000ms
Memory256MB
Difficulty
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: $S$ [samples]
Samples
Input #1
3x7
Output #1
21

We have $3 \times 7 = 21$, which should be printed.
Input #2
9x9
Output #2
81
Input #3
1x1
Output #3
1
API Response (JSON)
{
  "problem": {
    "name": "QQ solver",
    "description": {
      "content": "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$.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc232_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "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`.\nFind the product of $a$ and $b$....",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments