def getShapeAndColor(board, boxX, boxY):
    """ returns the shape and color for the specified box
    shape is stored in board[boxY][boxX][0]
    color is stored in board[boxY][boxX][1]
    """
    return board[boxY][boxX][0], board[boxY][boxX][1]