Suma of the min and max of three integers

Write a program that reads three numbers and prints the sum of their
minimum and maximum values.

Input

Input consists of three integer numbers.

Output

Print a line with the sum of the maximum and the minimum of the three
numbers.

Problem information

Author: Unknown
Translator: Maria Serna

Generation: 2026-01-25T22:49:55.439Z

© Jutge.org, 2006–2026.
https://jutge.org
