input: def linearSearch(search_item: str) -> int:
      """
      Search for a given item in a predefined array using linear search. Returns the index of the item if found, otherwise returns -1.
      Example:
      >>> linearSearch('bookstore')
      2
      >>> linearSearch('library')
      -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