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

~/algor $ cat problems/avval-katta-keyin-kichik

Larger first, then smaller

Easy 1000 ms 64 MB 16%
Share

Two integers $A$ and $B$ are given. Print the larger of them first, then the smaller.

Two numbers ordered from larger to smaller

Input

One line with two integers: $A$ and $B$.

Output

One line with two integers: the larger first, then the smaller.

Note

$-10^{9} \le A, B \le 10^{9}$

Examples

Input #1
3 7
Output #1
7 3
Input #2
7 3
Output #2
7 3

Sign in to submit a solution

Signing up is free and takes a minute.