4800: P1459 [USACO2.1] 三值的排序 Sorting a Three-Valued Sequence(普及-)

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Input

Output

Sample Input Copy

9
2
2
1
3
3
3
2
3
1

Sample Output Copy

4

HINT