e-olymp
Competitions

Quick Start C: Loops, Arrays, Functions

Perimeter of triangle

The sides of triangle are given. Find the perimeter of triangle.

Input

Consists of multiple tests. Each line contains the lengths of three sides of triangle. The lengths are positive real numbers.

Output

For each test print in a separate line the perimeter of triangle with 4 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
6.23 5.123 7.32141
2.12 4 3.012
3 3 3.033
Output example #1
18.6744
9.1320
9.0330