Shanto is a cricketer from Bangladesh national team. He is a struggling cricketer. Hardly he performed well. Today we are not talking about Shanto, we are talking about our cricket-obsessed mate Imrul who also enjoys programming.
Imrul has the list of runs Shanto scored in matches. He wants to know the number of matches Shanto performed well. Imrul considers a good performance If Shanto scored more than runs in a match.
Imrul learned about sorting and searching recently. So, Imrul first sorts the array then counts the number of matches Shanto performed well by finding the number of matches Shanto scored more than runs. Now it’s your turn to find out the sorted array and number of matches Shanto performed well in according to Imrul.
The first line of input contains a single integer — the number of matches Shanto played. The second line contains integers , , ,..., .( means Shanto scored runs in match)
You need to print the sorted array in the first line of output. In the second line, print the number of matches Shanto performed well.
8 5 0 22 51 10 74 2 9
0 2 5 9 10 22 51 74 2