eolymp
Competitions

1/8 ICPC Azerbaijan Qualification Preparation

Balls and boxes

Find the number of ways to put n different balls into k boxes. You can put into each box any number of balls (including zero).

Input

Two positive integers n and k.

Output

Print the number of ways to put n different balls into k boxes. It is known that this number is no more than 1018.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2 2
Output example #1
4
Author Mykhailo Medvediev