CodeChef PESU ECC Chapter
00:00Log in

Maximum of Three Numbers

Easy1s limit256 MB

Read three integers a, b, and c and print the largest among them.

Input Format

A single line containing three space-separated integers a, b, and c.

Output Format

A single integer — the maximum of a, b, and c.

Constraints

-10^9 <= a, b, c <= 10^9

Sample

Input
10 25 7
Output
25

Explanation

Among 10, 25, and 7, the largest number is 25.

Code
Loading editor…
Auto-savedC++
Case 1using sample

Run uses this input. Submit always judges the hidden tests.