Time

18:19:50
22 May 2012
Version for print

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?


Specifications

   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.


Problem information

Time Limit: 0.1 seconds
Memory Limit: 64 MB
Balls for the passed test: 5
Complexity: 43% 69/121
Classes: Combinatorics

Example

Example input

3 3

Example output

17576000


← Lunch Problems Lucky number Masha →