JUSTICE - Editorial

PROBLEM LINK:

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

Author: notsoloud
Tester: apoorv_me
Editorialist: iceknight1093

DIFFICULTY:

TBD

PREREQUISITES:

None

PROBLEM:

In a case, the accused will be convicted if the prosecution’s convincing power X is at least equal to the defense’s prosecution power Y.
Given X and Y, determine if the accused will be convicted.

EXPLANATION:

The answer is Yes if X\geq Y, and No otherwise.
Check this using an if condition.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

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