Editorial - MONICALUCK

Problem link : The One With The Lottery
Difficulty : Easy
Setter : Harshit Garg

Explanation :

We can manage this problem using data structures like unordered set, map or dictionary. First we store the elements in the unordered set, and by doing this we eliminate the duplicate items. So, the length of the set gives us the required answer.

Code :

for _ in range(int(input())):
    t = input()