you & mdash; A junior researcher in the advanced laboratory. Every day you conduct experiments and get sets of numerical data. The analysis protocol requires a different approach depending on the overall result of a series of measurements.
rn
the chief scientific leader established a simple rule: if the sum of all measurements per day is per day It is & nbsp; even & nbsp; in number, this indicates the stability of the process, and the data must be analyzed in order & nbsp; increasing . If the amount & nbsp; is odd , this may indicate an anomaly, and to identify emissions, the largest values need to be studied first of all, that is, to sort data on & nbsp; decrease .
rn = "PT-2">
Your task & mdash; Write a program that automates this primary stage of data sorting. rn
The program must take a line containing integers separated by spaces. It is necessary to determine whether the sum of these numbers is even or odd. ��TYST ACTION OF THE ANSITUTION, the program must derive these numbers, sorted by increasing. If odd & mdash; by descending.
Input format
A set of experimental data (a line of integers separated by a gap).
Output format
Sorted data set (line of integers separated by a gap).
Hint
There will be no clue here, decide for yourself!