input: 
  def chatbot_conversation(*inputs: str) -> str:
      """ Simulate a conversation with a simple chatbot using state diagrams.
      The chatbot follows a set of predefined states, each with a message and possible replies.
      The conversation ends when the chatbot reaches a terminal state (a state with no replies).
      >>> chatbot_conversation('I need some advice', 'Career advice')
      'Hello! How can I help you?\nI need some advice\nSure, what kind of advice do you need?\nCareer advice\nIt is always a good idea to research the field you are interested in and creating a plan to learn the skills that are required. Make sure to contact professionals in the field to understand their experience.\nGoodbye!'
      """
  
output:     conversation = [
          {
              'state': 'start',
              'message': 'Hello! How can I help you?',
              'replies': ['I need some advice']
          },
          {
              'state': 'advice',
              'message': 'Sure, what kind of advice do you need?',
              'replies': ['Career advice', 'Relationship advice', 'Financial advice']
          },
          {
              'state': 'career_advice',
              'message': 'It is always a good idea to research the field you are interested in and creating a plan to learn the skills that are required. Make sure to contact professionals in the field to understand their experience.',
              'replies': []
          },
          {
              'state': 'relationship_advice',
              'message': 'Communication is key in any relationship. Make sure to listen to your partner and express your feelings openly.',
              'replies': []
          },
          {
              'state': 'financial_advice',
              'message': 'It is important to create a budget and stick to it. Consider saving for emergencies and investing for the future.',
              'replies': []
          }
      ]
  
      current_state = 'start'
      output = ''
  
      for input_text in inputs:
          for state in conversation:
              if state['state'] == current_state:
                  output += state['message'] + '\n'
                  output += input_text + '\n'
                  if not state['replies']:
                      output += 'Goodbye!'
                      return output
                  if input_text in state['replies']:
                      current_state = input_text.replace(' ', '_') + '_advice'
                  break
  
      return output