Fractification

아직 제출이 없습니다시간 제한2초메모리 제한512 MB

문제

Little children love to break their toys so much! And little Andrew is no exception, he breaks into fragments everything he sees. This time he is about to break a set of four positive integers.

Let's say that fractification of four integers (aa, bb, cc, dd) is the sum ab+cd\frac{a}{b} + \frac{c}{d}. Little Andrew doesn't like anything larger that himself, so he wants fractification to be as small as possible.

You were asked to help Andrew in making the fractification of given four integers minimal possible if you are allowed to swap theese integers with each other any way you want.

입력

In the first and only line of input there are four positive integers aa, bb, cc and dd splitted by space (1a,b,c,d1091 \le a, b, c, d \le 10^9).

출력

Print four integers which are the permutation of given four, so their fractification is minimal possible. If there are more than one such permutations, print any.

힌트

In the first example output permutation gives us the value of  13+24=56\frac{1}{3} + \frac{2}{4} = \frac{5}{6} which is minimal.

In the second example only possible output leads to value of 55+55=2\frac{5}{5} + \frac{5}{5} = 2