input: def analyze_sentiment(text: str) -> str:
      """Analyze the sentiment of the given text and categorize it into positive, negative, or neutral sentiments.
      >>> analyze_sentiment("I love this place!")
      'positive'
      >>> analyze_sentiment("I hate this place!")
      'negative'
      >>> analyze_sentiment("This place is ok.")
      'neutral'
      """
output:     positive_words = ["love", "like", "enjoy", "happy", "amazing"]
      negative_words = ["hate", "dislike", "terrible", "awful", "sad"]
      
      text = text.lower()
      words = text.split()
      
      for word in words:
          if word in positive_words:
              return 'positive'
          elif word in negative_words:
              return 'negative'
      
      return 'neutral'