Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/funksiya-ikki-sonning-kattasi

Larger of two numbers

Easy 1000 ms 128 MB 24%
Share

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.

Two numbers go into the function MaxOfTwo, which returns the larger one

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

Sign in to submit a solution

Signing up is free and takes a minute.