input: Write a function to convert a list of hexadecimal strings to a list of decimal numbers.
  assert hex_to_dec(["FF", "A0", "5E"]) == [255, 160, 94]
  assert hex_to_dec(["1A", "2B", "3C"]) == [26, 43, 60]
  assert hex_to_dec(["0", "10", "100"]) == [0, 16, 256]
output: def hex_to_dec(hex_list):
      return [int(h, 16) for h in hex_list]