input: 
  def analyze_sentiment(text: str) -> str:
      """
      Analyzes the sentiment of given text and categorizes it into positive, negative, or neutral sentiments.
      >>> analyze_sentiment("I love this product")
      'positive'
      >>> analyze_sentiment("I hate this product")
      'negative'
      >>> analyze_sentiment("This product is fine")
      'neutral'
      """
  
output:     positive_words = ["love", "like", "good", "great", "excellent"]
      negative_words = ["hate", "dislike", "bad", "terrible", "awful"]
      
      words = text.lower().split()
      positive_count = sum(word in positive_words for word in words)
      negative_count = sum(word in negative_words for word in words)
      
      if positive_count > negative_count:
          return 'positive'
      elif negative_count > positive_count:
          return 'negative'
      else:
          return 'neutral'