Run id: 125149

------Input------
5 aaaaaaf
------Answer-----
a
------Your output-----
0a