def METHOD_NAME(game, team, x, y):
    xx = x if team == game.state.away_team else game.arena.width - x - 1
    yy = y
    sq = Square(xx, yy)
    game.step(Action(ActionType.PLACE_PLAYER, player=game.get_dugout(team).reserves[0], position=sq))
    return game.get_player_at(sq)