e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

License plate

License plate

prb1290 International license registration plate car consists of A and B, Arabic numerals, capital letters in Latin alphabet. We assume that to provide a unique number is permitted to use any sequence of letters and numbers.

How many different such numbers?

Input

In a single line through the gap two non-negative integers B and A. Both numbers do not exceed 26.

Output

Single number - the answer to the problem.

Time limit 0.1 seconds
Memory limit 64 MiB
Input example #1
3 3
Output example #1
17576000