VAL114 - Editorial

PROBLEM LINK:

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

Author: tabr
Tester: tabr
Editorialist: iceknight1093

DIFFICULTY:

TBD

PREREQUISITES:

None

PROBLEM:

Given X, is Starters X likely to be on Valentine’s day?

EXPLANATION:

Starters 121 is likely to be on Valentine’s day, no other Starters is.
So, the answer is Likely if X = 121 and Unlikely otherwise.
This can be checked using an if condition, for example.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (Python)
x = int(input())
print('Likely' if x == 121 else 'Unlikely')