input: from typing import List
  
  def is_prime(n: int) -> bool:
      """ Check if a given number n is a prime number.
      >>> is_prime(7)
      True
      >>> is_prime(8)
      False
      >>> is_prime(12)
      False
      >>> is_prime(19)
      True
      >>> is_prime(22)
      False
      >>> is_prime(23)
      True
      """
      if n <= 1:
          return False
      for i in range(2, n):
          if n % i == 0:
              return False
      return True
  
  def check_lst(lst: List[int]) -> List[bool]:
      """ Check a list of integers and return a list of booleans where each element is True if the corresponding element in the input list is a prime number, and False otherwise.
      >>> check_lst([7, 8, 12, 19, 22, 23])
      [True, False, False, True, False, True]
      """
      return [is_prime(num) for num in lst]
output:     return [is_prime(num) for num in lst]