AtCoder Beginner Contest 148
A
Round One
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

Takahashi is solving quizzes. He has easily solved all but the last one.

翻译中…

The last quiz has three choices: $1$, $2$, and $3$.

翻译中…

With his supernatural power, Takahashi has found out that the choices $A$ and $B$ are both wrong.

翻译中…

Print the correct choice for this problem.

翻译中…

Constraints

翻译中…
  • Each of the numbers $A$ and $B$ is $1$, $2$, or $3$.
  • $A$ and $B$ are different.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

A
B

翻译中…

Output

翻译中…

Print the correct choice.

翻译中…

样例

Input #1
3
1
Output #1
2
When we know $3$ and $1$ are both wrong, the correct choice is $2$.
Input #2
1
2
Output #2
3
题目信息
题号
abc148_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。