PROBLEM LINK:
Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4
Author: pols_agyi_pols
Tester: kingmessi
Editorialist: iceknight1093
DIFFICULTY:
Cakewalk
PREREQUISITES:
None
PROBLEM:
Chef will buy bitcoin if the market risk level is no more than 4.
The current market risk level is R.
Will Chef buy bitcoin?
EXPLANATION:
The answer is Yes if R \le 4 and No otherwise.
This can be checked using an if condition.
TIME COMPLEXITY:
\mathcal{O}(1) per testcase.
CODE:
Editorialist's code (PyPy3)
r = int(input())
print('Yes' if r <= 4 else 'No')