input: from typing import List
  
  def select_word(words: List[str], threshold: int) -> str:
      """ Select the first word in the list whose length is greater than the given threshold.
      If no such word exists, return an empty string.
      >>> select_word(['apple', 'banana', 'cherry'], 6)
      ''
      >>> select_word(['apple', 'banana', 'cherry'], 5)
      'banana'
      """
output:     for word in words:
          if len(word) > threshold:
              return word
      return ''