input: Write a function to edit the given Python program to use a dictionary instead of a list and print each value of the dictionary.
  
  assert edit_program([1, 2, 3, 4])=={1: 'one', 2: 'two', 3: 'three', 4: 'four'}
  assert edit_program([5, 6, 7, 8])=={5: 'five', 6: 'six', 7: 'seven', 8: 'eight'}
  assert edit_program([])=={}
  assert edit_program([10, 20, 30])=={10: 'ten', 20: 'twenty', 30: 'thirty'}
output: def edit_program(lst):
      num_to_word = {1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 10: 'ten', 20: 'twenty', 30: 'thirty'}
      result = {num: num_to_word.get(num, '') for num in lst}
      for value in result.values():
          print(value)
      return result