n . . . . , . . . , . , .
( )
( ) ;
n 1 ; "" .
( # , ).
. count count[i] , a[i]. a[i] count[i] . a n, .
, mas b, . . number b + 1 number[i a + 1] , , i . . mas n, b, .
mas. mas[i] mas [i + 1] i. mas[i] mas[i + 1] i. , mas[i] > mas [i + 1] . , .
?
, .
.