#C7868. Assignment of Students Based on Completion Times
Assignment of Students Based on Completion Times
Assignment of Students Based on Completion Times
You are given three integers t1, t2, and t3 representing the completion times for three assignments. Your task is to assign students to these assignments based on the descending order of their completion times. The assignment with the highest completion time receives the first student number, the second highest receives the second student number, and the lowest receives the third student number. In the event of a tie, maintain the original order of input.
Note: The output should display the student numbers in order, separated by a single space.
inputFormat
The input consists of a single line containing three space-separated integers t1, t2, and t3.
outputFormat
Output a single line with three space-separated integers representing the student numbers assigned to each time, ordered by descending completion time.
## sample25 30 5
2 1 3