Isosceles triangle#53

Isosceles triangle

1 second
128 megabytes
Very easy (≈850)

Three positive integers a, b and c are given. Determine if there exists an isosceles triangle with the lengths of these sides.

Input

Three positive integers a, b and c.

Output

Print the sum of the given numbers if there exists an isosceles triangle with side lengths a, b, c, and No otherwise.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading