#abc343a. A - Wrong Answer

A - Wrong Answer

Score: 100100 points

问题描述

你将得到两个整数 AABB,它们的取值范围都在 0099(包含两端点)之间。

请输出一个在 0099(同样包含两端点)之间的整数,但要求该整数不能等于 A+BA + B

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given two integers AA and BB, each between 00 and 99, inclusive.

Print any integer between 00 and 99, inclusive, that is not equal to A+BA + B.

Constraints

  • 0A90 \leq A \leq 9
  • 0B90 \leq B \leq 9
  • A+B9A + B \leq 9
  • AA and BB are integers.

Input

The input is given from Standard Input in the following format:

AA BB

Output

Print any integer between 00 and 99, inclusive, that is not equal to A+BA + B.

Sample Input 1

2 5

Sample Output 1

2

When A=2,B=5A = 2, B = 5, we have A+B=7A + B = 7. Thus, printing any of 0,1,2,3,4,5,6,8,90, 1, 2, 3, 4, 5, 6, 8, 9 is correct.

Sample Input 2

0 0

Sample Output 2

9

Sample Input 3

7 1

Sample Output 3

4

update @ 2024/3/10 01:15:15