Under construction

Still being built. Things may change

Money On Me

Time limit2sMemory limit2048 MB

Summary
Given counts of 1000-yen and 10000-yen bills, the task is to print the total amount of money in yen.
Level

Easy1 of 10

Topics
Implementation, Math
Solved
No attempts yet

Problem

Bi Taro has AA bills of 1 000 yen and BB bills of 10 000 yen. Print the total amount of money he has, without the unit (yen).

Input

The input is given in the following format.

A
B

Output

Print the amount of money Bi Taro has, without the unit (yen). Print only the answer. Do not print any prompt for input or any other text.

Constraints

  • 1 ≦ A ≦ 100.
  • 1 ≦ B ≦ 100.
  • All input values are integers.

Examples2

  1. Example 1

    Input
    7
    2
    
    Expected output
    27000
    
  2. Example 2

    Input
    11
    1
    
    Expected output
    21000