input: def play_game(player1: str, player2: str) -> str:
      """ Implements a rock-paper-scissors decision-making algorithm.
      The rules are 'rock' beats 'scissors', 'scissors' beats 'paper', and 'paper' beats 'rock'.
      
      If both players choose the same option, it is a draw.
      >>> play_game('rock', 'scissors')
      'Player 1 wins!'
      >>> play_game('scissors', 'rock')
      'Player 2 wins!'
      >>> play_game('paper', 'paper')
      'It is a draw!'
      """
      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!'
      return 'Invalid choice'
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!'
      return 'Invalid choice'