#C2766. Maximum of Three Integers

    ID: 46118 Type: Default 1000ms 256MiB

Maximum of Three Integers

Maximum of Three Integers

Given three integers X, Y, and Z, your task is to determine the maximum value among them. This problem is straightforward and focuses on properly handling input and output using standard input (stdin) and standard output (stdout). The maximum value is defined mathematically as \( \max(X, Y, Z) \).

inputFormat

The input consists of a single line containing three integers separated by spaces.

For example:

3 9 -5

outputFormat

Output a single integer, which is the maximum among the three provided numbers.

For the example above, the output should be:

9
## sample
3 9 -5
9