CodeChef PESU ECC Chapter
← Arena·Practice·August 16, 2026

Maximum of Three Numbers

Easy
mathimplementation1s limit· 256 MB

Set by Shivansh

PRACTICE

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
00:00
Loading editor…
Auto-saved
Custom Inputusing sample

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