dictionary3={}
for element7 in range(int(input())):
dictionary3[input()]=input[]
for element5 in dictionary3:
print({element5:dictionary3[element5]})
The number we type is a string, and it should be converted into an integer because it causes an error.