atcoder#PANASONIC2020A. Kth Term
Kth Term
Score : points
Problem Statement
Print the -th element of the following sequence of length :
1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the -th element.
6
2
The -th element is .
27
5
The -th element is .