PROBLEM LINK:
Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4
Author: raysh_07
Tester: mridulahi
Editorialist: iceknight1093
DIFFICULTY:
TBD
PREREQUISITES:
None
PROBLEM:
Codechef rounds are held every Wednesday.
The first day of the week is Sunday, and today is the N-th day. Is there a Codechef round today?
EXPLANATION:
The answer is Yes
if N = 4 and No
otherwise.
This can be checked using an if
statement.
TIME COMPLEXITY:
\mathcal{O}(1) per testcase.
CODE:
Editorialist's code (Python)
n = int(input())
print('Yes' if n == 4 else 'No')