P25816 [AtCoder] A to Z String 2
入门
题目描述

Problem Statement

Find the X-th character from the beginning of the string that is obtained by concatenating these characters: N copies of A's, N copies of B's, …, and N copies of Z's, in this order.

Input

Input is given from Standard Input in the following format:
N X

Output

Print the answer.

Constraints

  • $1 \leq N \leq 100$
  • $1 \leq X \leq N\times 26$
  • All values in input are integers.

Sample Input 1

1 3

Sample Output 1

C

We obtain the string ABCDEFGHIJKLMNOPQRSTUVWXYZ, whose 3-rd character from the beginning is C.

Sample Input 2

2 12

Sample Output 2

F

We obtain the string AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYYZZ, whose 12-th character from the beginning is F.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
1 3
样例输出
C