UVA11714 Blind Sorting

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=117&page=show_problem&problem=2761 [PDF](https://uva.onlinejudge.org/external/117/p11714.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11714/5922c8c1d69939f9b742c51cc90809261ea02e6c.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11714/7254b66c05960102a50146e0729567026e40715b.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11714/b668b5e689542e8eda1b5980a3a41b728677ea71.png)