import numpy

board = numpy.zeros((3,3), dtype=numpy.int)

def clearBoard():
    board.fill(0)
    print(board)
    return 0

def checkWin(player):
    for i in range(3):
        if(board[:,i].all() == player or board[i,:].all() == player):
            clearBoard()
            return 1
    if(board[1,1] == player and ((board[0,0] == player and board[2,2] == player) or (board[0,2] == player and board[2,0] == player))):
            clearBoard()
            return 1
    return 0
                                

def makeMove(row, column, player):
    if(board[row, column] == 0):
        board[row, column] = player
        return checkWin(player)
    else:
        return -1


ab1d7b30b55a47b7d3842cd1ca451d0a76d4a9fa
<mask token>


def makeMove(row, column, player):
    if board[row, column] == 0:
        board[row, column] = player
        return checkWin(player)
    else:
        return -1

<mask token>


def clearBoard():
    board.fill(0)
    print(board)
    return 0


def checkWin(player):
    for i in range(3):
        if board[:, i].all() == player or board[i, :].all() == player:
            clearBoard()
            return 1
    if board[1, 1] == player and (board[0, 0] == player and board[2, 2] ==
        player or board[0, 2] == player and board[2, 0] == player):
        clearBoard()
        return 1
    return 0


def makeMove(row, column, player):
    if board[row, column] == 0:
        board[row, column] = player
        return checkWin(player)
    else:
        return -1

<mask token>
board = numpy.zeros((3, 3), dtype=numpy.int)


def clearBoard():
    board.fill(0)
    print(board)
    return 0


def checkWin(player):
    for i in range(3):
        if board[:, i].all() == player or board[i, :].all() == player:
            clearBoard()
            return 1
    if board[1, 1] == player and (board[0, 0] == player and board[2, 2] ==
        player or board[0, 2] == player and board[2, 0] == player):
        clearBoard()
        return 1
    return 0


def makeMove(row, column, player):
    if board[row, column] == 0:
        board[row, column] = player
        return checkWin(player)
    else:
        return -1

import numpy
board = numpy.zeros((3, 3), dtype=numpy.int)


def clearBoard():
    board.fill(0)
    print(board)
    return 0


def checkWin(player):
    for i in range(3):
        if board[:, i].all() == player or board[i, :].all() == player:
            clearBoard()
            return 1
    if board[1, 1] == player and (board[0, 0] == player and board[2, 2] ==
        player or board[0, 2] == player and board[2, 0] == player):
        clearBoard()
        return 1
    return 0


def makeMove(row, column, player):
    if board[row, column] == 0:
        board[row, column] = player
        return checkWin(player)
    else:
        return -1

import numpy

board = numpy.zeros((3,3), dtype=numpy.int)

def clearBoard():
    board.fill(0)
    print(board)
    return 0

def checkWin(player):
    for i in range(3):
        if(board[:,i].all() == player or board[i,:].all() == player):
            clearBoard()
            return 1
    if(board[1,1] == player and ((board[0,0] == player and board[2,2] == player) or (board[0,2] == player and board[2,0] == player))):
            clearBoard()
            return 1
    return 0
                                

def makeMove(row, column, player):
    if(board[row, column] == 0):
        board[row, column] = player
        return checkWin(player)
    else:
        return -1

