#Z16206. 阿克曼(Ackmann)函数

阿克曼(Ackmann)函数

Description

The Ackermann function A(m,n)A(m, n) is defined for non-negative integers mm and nn (where m3m \leq 3, n10n \leq 10), and its value is defined as follows:

Input Format

Input mm and nn.

Output Format

The function value.

2 3

9