Preparando MOJI

Mysterious numbers - 2

2000ms 262144K

Description:

Input:

The only line of input contains three integers a1, a2, a3 (1 ≤ a1, a2, a3 ≤ 20), separated by spaces.

Output:

Output a single integer.

Sample Input:

2 3 2

Sample Output:

5

Sample Input:

13 14 1

Sample Output:

14

Sample Input:

14 5 9

Sample Output:

464

Sample Input:

17 18 3

Sample Output:

53

Informação

Codeforces

Provedor Codeforces

Código CF171G

Tags

*special

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 08:35:49

Relacionados

Nada ainda