firstWord = input("Enter the First word: ").lower()
secondWord = input("Enter the Second word: ").lower()
print("----------------------")
hehe = []
for i in firstWord:
for j in secondWord:
if i == j:
hehe.append(j)
print(hehe)
print("----------------------")