input: from typing import List
  
  
  def linearSearch(search_item: str) -> int:
      """
      Perform a linear search on a predefined array to find the position of the search item.
      Return the position if found, otherwise return -1.
      
      >>> linearSearch('bookstore')
      2
      >>> linearSearch('restaurant')
      -1
      """
      array = ['school', 'hospital', 'bookstore', 'mall', 'theatre']
      for i in range(len(array)):
          if array[i] == search_item:
              return i
      return -1
output:     array = ['school', 'hospital', 'bookstore', 'mall', 'theatre']
      for i in range(len(array)):
          if array[i] == search_item:
              return i
      return -1