题目描述
Problem Description
Given the lengths of three sides of a rectangle, find the length of the remaining side.
Input Format
The input is given from the standard input in the following format:
$ l_1 $ $ l_2 $ $ l_3 $
- The first line contains three integers $ l_1 $, $ l_2 $, and $ l_3 $ ($1 \leq l_1, l_2, l_3 \leq 10$), representing the lengths of three sides of the rectangle.
Output Format
Output the length of the remaining side of the rectangle. It is guaranteed that there is exactly one answer. End the output with a newline.
Sample Input and Output
Sample Input #1
1 1 2
Sample Output #1
2
Sample Input #2
4 3 4
Sample Output #2
3
Sample Input #3
5 5 5
Sample Output #3
5
Notes/Hints
Sample Explanation 1
This is a $1 \times 2$ rectangle.
Sample Explanation 2
The input can be given in any order.
Sample Explanation 3
A square is also considered a rectangle.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
1 1 2
样例输出
2