e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. PART 3

Maximum among four numbers

Four numbers a, b, c, d are given. Find the maximum among them.

Input

Four integers, not greater than 1000 by absolute value.

Output

Print the maximum among four numbers.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1 2 3 4
Output example #1
4