LMP1 - Editorial

PROBLEM LINK:

Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4

Author: kingmessi
Tester: pols_agyi_pols
Editorialist: iceknight1093

DIFFICULTY:

Cakewalk

PREREQUISITES:

None

PROBLEM:

You consume X grams of protein daily. A balanced diet requires Y grams.
Do you consume enough protein?

EXPLANATION:

The answer is "Yes" if X \ge Y and "No" otherwise.
This can be checked using an if condition.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (PyPy3)
x, y = map(int, input().split())
print('Yes' if x >= y else 'No')