input: 
  def play_game(player1, player2):
      """
      This function implements a decision-making algorithm for a rock-paper-scissors game.
      
      The rules are as follows:
      - Rock beats Scissors
      - Scissors beats Paper
      - Paper beats Rock
  
      The function takes two inputs, player1 and player2, which are the choices made by
      each player. It returns a string indicating the result of the game:
      - If both players choose the same, it returns "It is a draw!".
      - If player1's choice beats player2's choice, it returns "Player 1 wins!".
      - If player2's choice beats player1's choice, it returns "Player 2 wins!".
  
      Example:
      >>> play_game('rock', 'scissors')
      'Player 1 wins!'
      >>> play_game('paper', 'paper')
      'It is a draw!'
      >>> play_game('scissors', 'rock')
      'Player 2 wins!'
      """
      rules = {'rock': 'scissors', 'scissors': 'paper', 'paper': 'rock'}
      if player1 == player2:
          return 'It is a draw!'
      elif rules[player1] == player2:
          return 'Player 1 wins!'
      elif rules[player2] == player1:
          return 'Player 2 wins!'
  
output:     rules = {'rock': 'scissors', 'scissors': 'paper', 'paper': 'rock'}
      if player1 == player2:
          return 'It is a draw!'
      elif rules[player1] == player2:
          return 'Player 1 wins!'
      elif rules[player2] == player1:
          return 'Player 2 wins!'