Help me with this exercise
##ACTIVITY: Dictionary You are working on data that represents the economic freedom rank by country.Each country name and rank are You are working on data that represents the economic freedom rank by country.Each country name and rank are stored in a dictionary, with the key being the country name.Complete the program to take the country name as input and output its corresponding economic freedom rank.In case the provided country name is not present in the data, output "Not found".stored in a dictionary, with the key being the country name.Complete the program to take the country name as input and output its corresponding economic freedom rank.In case the provided country name is not present in the data, output "Not found". data = { 'Singapore': 1, 'Ireland': 6, 'United Kingdom': 7, 'Germany': 27, 'Armenia': 34, 'United States': 17, 'Canada': 9, 'Italy': 74 } a =input() for x in data: if x == a: print (data[x]) #else: #print('Not found!')