Rectangle
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Four positive integers are given. Find the sum of the given numbers if there exists a rectangle with side lengths . Print "No" otherwise.
Input
Four positive integers , each no more than .
Output
If the rectangle exists, print the sum of all numbers. Otherwise print "No".
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 12K
Acceptance rate 34%