Submission #74641544


Source Code Expand

m, d = map(int, input().split())

options = [(1, 7), (3, 3), (5, 5), (7, 7), (9, 9)]

if (m, d) in options:
    print("Yes")
else:
    print("No")

Submission Info

Submission Time
Task A - Gothec
User gett
Language Python (PyPy 3.11-v7.3.20)
Score 100
Code Size 155 Byte
Status AC
Exec Time 56 ms
Memory 79800 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 17
Set Name Test Cases
Sample 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 00-sample-04.txt
All 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 00-sample-04.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt
Case Name Status Exec Time Memory
00-sample-01.txt AC 55 ms 79416 KiB
00-sample-02.txt AC 55 ms 79268 KiB
00-sample-03.txt AC 55 ms 79680 KiB
00-sample-04.txt AC 56 ms 79764 KiB
01-01.txt AC 55 ms 79268 KiB
01-02.txt AC 55 ms 79764 KiB
01-03.txt AC 55 ms 79800 KiB
01-04.txt AC 56 ms 79680 KiB
01-05.txt AC 56 ms 79516 KiB
01-06.txt AC 56 ms 79528 KiB
01-07.txt AC 55 ms 79764 KiB
01-08.txt AC 56 ms 79652 KiB
01-09.txt AC 56 ms 79652 KiB
01-10.txt AC 56 ms 79680 KiB
01-11.txt AC 56 ms 79548 KiB
01-12.txt AC 56 ms 79388 KiB
01-13.txt AC 56 ms 79688 KiB