Run id: 113808

------Input------
5 3 0 2 1 4 3
------Answer-----
2
------Your output-----
3