Problem B
Hola Íslenskra Fræða
Languages
en
is
A decision has finally been made regarding the hole which
now bears the name Hola Íslenskra Fræða (e. The Pit of
Icelandic Studies). It has been decided that the building will
never be finished, but something has to be done since at this
rate it will be declared a national monument. The solution to
this amusing problem is to dig a deeper pit! Your job is to
assist in the planning of pit-digging the next two days while
the position is being filled. You are to be supervising
Input
The only line in the input contains one integer
Output
The only line in the output should contain the number of
ways you can assign pumps and employees to holes, given modulo
Sample Input 1 | Sample Output 1 |
---|---|
3 |
18 |
Sample Input 2 | Sample Output 2 |
---|---|
100 |
725034763 |