LearnPy Hub
← Tuples & Sets problems
Easy

Member of the Set?

Read allowed usernames on one line and a username on the second. Print Allowed or Denied.

Input

Two lines.

Output

One word.

Sample 1

Input
mim rafi sara
rafi
Output
Allowed

Sample 2

Input
mim rafi
tom
Output
Denied
solution.py
Output appears here
Member of the Set? · Python practice problem · LearnPy Hub