License plate
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 secondsMemory Limit: 64 MB
Balls for the passed test: 5
Complexity: 43% 69/121
Classes: Combinatorics
Example
Example input3 3 |
Example output17576000 |
| ← Lunch | Problems | Lucky number Masha → |
