4034.Mysterious numbers - 2

Time Limit: 1s Memory Limit: 256MB

Input Format(From the terminal/stdin)

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

Output Format(To the terminal/stdout)

Output a single integer.

Sample Input 1

Copy
2 3 2
 · · \n

Sample Output 1

Copy
5
 \n

Sample Input 2

Copy
13 14 1
  ·  · \n

Sample Output 2

Copy
14
  \n

Sample Input 3

Copy
14 5 9
  · · \n

Sample Output 3

Copy
464
   \n

Sample Input 4

Copy
17 18 3
  ·  · \n

Sample Output 4

Copy
53
  \n

Submit

请先 登录

© 2025 FAQs