PROBLEM LINK:
Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4
Author: kingmessi
Tester: watoac2001
Editorialist: iceknight1093
DIFFICULTY:
TBD
PREREQUISITES:
None
PROBLEM:
X people want a free kick session to be held, while Y people want a penalty session.
Who are in the majority?
EXPLANATION:
The answer is Freekick
if X\gt Y and Penalty
otherwise.
You can 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('Freekick' if x > y else 'Penalty')