Run id: 73693

------Input------
8 74 34 87 21 47 95 59 99
------Answer-----
21
------Your output-----
34342121212121