QOJ.ac

QOJ

Time Limit: 2 s Memory Limit: 1024 MB

#23956. Money On Me

Statistics

Problem

Bitaro has $A$ bills of $1\,000$ yen and $B$ bills of $10\,000$ yen. Output how much money he has in total.

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 how much money Bitaro has, omitting the unit (yen).

Do not output anything other than the answer. (Do not output sentences prompting for input, etc.)

Sample Input and Output

Sample Input 1

7
2

Sample Output 1

27000
  • Bitaro has $1\,000 \times 7 + 10\,000 \times 2 = 27\,000$ yen. Thus, output $27\,000$.

Sample Input 2

11
1

Sample Output 2

21000
  • Bitaro has $1\,000 \times 11 + 10\,000 \times 1 = 21\,000$ yen. Thus, output $21\,000$.

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.