input: from typing import List
  
  def translate_music(music_sequence: str) -> List[int]:
      """ The argument for this method is a string denoting musical notes in a unique ASCII representation.
      Your objective is to interpret this string and produce a list of integers indicating the number of beats each
      note takes.
  
      Here is a reference:
      'o' - whole note, lasts for four beats
      'o|' - half note, lasts for two beats
      '.|' - quarter note, lasts for one beat
  
      >>> translate_music('o o| .| o| o| .| .| .| .| o o')
      [4, 2, 1, 2, 2, 1, 1, 1, 1, 4, 4]
      """
output:     beats = {
          'o': 4,
          'o|': 2,
          '.|': 1
      }
      notes = music_sequence.split()
      return [beats[n] for n in notes]