Олимпиадный тренинг

Задача 21843. three numbers


Задача

Темы:
You are given three numbers a, b and c. You must assign these numbers to each other in this order so that the result is the minimum number. For example, if a = 12, b = 5, c = 3, by attribution you can get the numbers 1253, 1235, 3125, 3512, 5123, 5312. The minimum among these numbers is 1235.

Input

The first line contains three space-separated integers a, b and c (1 ≤ a, b, c ≤ 100).

Imprint

Print the minimum number that can be obtained by adding a, b and c to each other in some order.

Test examples

Input

12 3 5
Output
1235
Input
2 21 3
Output
2123