e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 3: November 23 – 29. For Loop. Part 2

Sum of real numbers

Three real numbers are given. Find their pairwise sums.

Input

Three real numbers x, y, z.

Output

Print in one line the sums x + y, x + z and y + z with 4 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1.2345 3.4566 -0.1236
Output example #1
4.6911 1.1109 3.3330