AT_abc440_b [ABC440B] Trifecta
Description
$ N $ horses numbered $ 1 $ to $ N $ had a race.
All horses started simultaneously, and horse $ i $ took $ T_i $ seconds from the start to the goal.
Find the numbers of the horses that finished in $ 1 $ st, $ 2 $ nd, and $ 3 $ rd places. It is guaranteed that all $ T_i $ are distinct.
Input Format
The input is given from Standard Input in the following format:
> $ N $ $ T_1 $ $ \dots $ $ T_N $
Output Format
Output the numbers of the horses that finished in $ 1 $ st, $ 2 $ nd, and $ 3 $ rd places, in this order, separated by spaces.
Explanation/Hint
### Sample Explanation 1
The horses finished in the order $ 4, 1, 3, 2 $ . Output the numbers for $ 1 $ st, $ 2 $ nd, and $ 3 $ rd places, which are $ 4, 1, 3 $ , in this order, separated by spaces.
### Constraints
- $ 3\leq N \leq 32 $
- $ 1\leq T_i \leq 200 $
- All $ T_i $ are distinct.
- All input values are integers.