A. Hugo's Soft Drinks
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

Hugo is helping organize a small event and is in charge of buying the drinks. They come packaged in boxes of two different sizes. Small boxes always contain 6 cans of drink each, while large boxes always contain 15 cans of the same drink.

Hugo writes down on a piece of paper how many small boxes and how many large boxes he has in storage. With this information, he wants to know how many cans of drink he has in total.

Input

The input consists of two lines. The first line contains an integer $$$P$$$ indicating how many small boxes Hugo has. The second line contains an integer $$$G$$$ indicating how many large boxes Hugo has.

Output

Print a single integer: the total number of cans of drink that Hugo has.

Scoring
  1. (10 points) $$$P = G = 1$$$
  2. (15 points) $$$G = 0$$$
  3. (25 points) $$$P = 0$$$
  4. (50 points) No additional restrictions.
Example
Input
3
2
Output
48
Note
  • $$$0 \le P \lt 100$$$
  • $$$0 \le G \lt 100$$$