python – Problem of lists and dictionaries

Personally, I'm at the beginning of python and I do an exercise that consists of typing a number N and then typing on N lines a word and a quality. After that, I have to type a sentence.
If in this sentence there is a word that I have already typed before, you must print their respective quality.

example

ENTRANCE

3
explosive boldo
tearful blanket
hot kiss
You put the lid on the boldo?

Exit

explosive tearful

my code is this one but it's not ok

dic = {}
list =[]

n = int (input ())
for i in the range (n):
dic["palavra"], Dec["adjetivo"]= input (). split ()

list.append (dic.copy ())
sentence = entry ()

for i in the sentence:
if I'm in a dic["palavra"]:
print (dic["adjetivo"])