QOJ.ac

QOJ

时间限制: 2 s 内存限制: 1024 MB

#23969. Homework 2

统计

Aoi is working on her math homework. The homework consists of $A$ problems in total, and Aoi can solve each $1$ problem in $B$ seconds.

Find how many seconds it takes for Aoi to solve all the problems.

Constraints

  • $1 \le A \le 100$.
  • $1 \le B \le 100$.
  • All input values are integers.

Input

The input is given in the following format:

A
B

Output

Output the time it takes for Aoi to solve all the problems, omitting the unit (seconds).

Do not output anything other than the answer. (Do not output prompt sentences or anything similar.)

Examples

Input 1

5
9

Output 1

45

Note 1

The homework consists of $5$ problems in total, and Aoi can solve each $1$ problem in $9$ seconds. In this case, Aoi can solve all the problems in $45$ seconds.

Input 2

1
25

Output 2

25

Note 2

The homework consists of $1$ problem in total, and Aoi can solve each $1$ problem in $25$ seconds. In this case, Aoi can solve all the problems in $25$ seconds.

Input 3

100
100

Output 3

10000

Note 3

The homework consists of $100$ problems in total, and Aoi can solve each $1$ problem in $100$ seconds. In this case, Aoi can solve all the problems in $10000$ seconds.

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.