Submission #10835894


Source Code Expand

Copy
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

A = [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]
K = int(read())
print(A[K-1])

Submission Info

Submission Time
Task A - Kth Term
User maspy
Language Python3 (3.4.3)
Score 100
Code Size 257 Byte
Status
Exec Time 17 ms
Memory 3064 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 example0.txt, example1.txt
All 100 / 100 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, 007.txt, example0.txt, example1.txt
Case Name Status Exec Time Memory
000.txt 17 ms 3060 KB
001.txt 17 ms 3060 KB
002.txt 17 ms 3064 KB
003.txt 17 ms 2940 KB
004.txt 17 ms 2940 KB
005.txt 17 ms 3060 KB
006.txt 17 ms 3060 KB
007.txt 17 ms 3064 KB
example0.txt 17 ms 3060 KB
example1.txt 17 ms 3060 KB