Read the integers power and mode and a big rational number. Round the number toward floor to mode decimal places, then raise it to the power of power and print the result.
Input: power, mode: Int; number: BigDecimal
Output: result: BigDecimal