Run id: 125148

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