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 Python (3.4.3)
Score 100
Code Size 257 Byte
Status AC
Exec Time 17 ms
Memory 3064 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
Set Name Test Cases
Sample example0.txt, example1.txt
All 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 AC 17 ms 3060 KB
001.txt AC 17 ms 3060 KB
002.txt AC 17 ms 3064 KB
003.txt AC 17 ms 2940 KB
004.txt AC 17 ms 2940 KB
005.txt AC 17 ms 3060 KB
006.txt AC 17 ms 3060 KB
007.txt AC 17 ms 3064 KB
example0.txt AC 17 ms 3060 KB
example1.txt AC 17 ms 3060 KB