Functions
Function-14
Function-15
Function-16
~/algor $ cat problems/funksiya-ikki-sonning-kattasi
Larger of two numbers
Easy
1000 ms
128 MB
24%
Write a function MaxOfTwo(a, b) that returns the larger of the integers $a$ and $b$.
Example 1: MaxOfTwo(3, 8) → 8
Example 2: MaxOfTwo(-2, -5) → -2
Write only the function body.
Input
One line with two integers $a$ and $b$ — the arguments of the function.
Output
The value returned by the function: an integer.
Note
$-10^{9} \le a, b \le 10^{9}$
Examples
Input #1
3 8
Output #1
8
Input #2
-2 -5
Output #2
-2