Problem D: Consecutive characters

Problem D: Consecutive characters

Time Limit: 1 Sec  Memory Limit: 64 MB
Submit: 47  Solved: 11
[Submit] [Status] [Web Board] [Creator:]

Description

Given a string, find the first character that appears at least k consecutive times in the string.

Input

The first line of input contains a positive integer k, indicating the number of consecutive occurrences. 1 <= k <= 1000. The second line contains the given string. The string length is between 1 and 1000 and does not contain any space.

Output

Outputs the character if there is a character that appears at least k consecutive times; otherwise, outputs No.

Sample Input Copy

3
ccddaaab

Sample Output Copy

a