input:                         
  def play_game(player1: str, player2: str) -> str:
      """Implement a decision-making algorithm for a rock-paper-scissors game.
      
      This function takes two inputs corresponding to the choices of Player 1 and Player 2.
      It then determines the outcome of the game based on predefined rules and returns a string
      indicating the result ('It is a draw!', 'Player 1 wins!', or 'Player 2 wins!').
      
      The rules are:
      - Rock beats Scissors
      - Scissors beats Paper
      - Paper beats Rock
      
      Example:
      >>> play_game('rock', 'paper')
      'Player 2 wins!'
      >>> play_game('rock', 'rock')
      'It is a draw!'
      >>> play_game('scissors', 'paper')
      'Player 1 wins!'
      """
output:     if player1 == player2:
          return 'It is a draw!'
      elif (player1 == 'rock' and player2 == 'scissors') or \
           (player1 == 'scissors' and player2 == 'paper') or \
           (player1 == 'paper' and player2 == 'rock'):
          return 'Player 1 wins!'
      else:
          return 'Player 2 wins!'