AtCoder Beginner Contest 075
翻译中…
Problem Statement
翻译中…
You are given three integers, $A$, $B$ and $C$.
Among them, two are the same, but the remaining one is different from the rest.
For example, when $A=5,B=7,C=5$, $A$ and $C$ are the same, but $B$ is different.
Find the one that is different from the rest among the given three integers.
翻译中…
Constraints
翻译中…
$-100 \leq A,B,C \leq 100$$A$,$B$and$C$are integers.- The input satisfies the condition in the statement.
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
A B C
翻译中…
Output
翻译中…
Among $A$, $B$ and $C$, print the integer that is different from the rest.
翻译中…
样例
Input #1
5 7 5
Output #1
7
This is the same case as the one in the statement.
Input #2
1 1 7
Output #2
7
In this case, $C$ is the one we seek.
Input #3
-100 100 100
Output #3
-100
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。