Spot It!

Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is the same for all - find the matching element between two cards.

This is a companion discussion topic for the original entry at
n = int(input())
userInput = []
for i in range(n):

for i in userInput:
    print(i + 1)

wrong answer on test 2. any hint? please.