def showBoard(board):
	print str(board[0]) + "-"+str(board[1]) + "-"+ str(board[2])
	print str(board[3]) + "-"+str(board[4]) + "-"+ str(board[5]) 
	print str(board[6]) + "-"+str(board[7]) + "-"+ str(board[8])  

def minimax-d(position,board):
	v=maxValue(position,board)
	

def maxValue(position,board):
	pass
def minValue(position,board):



board=[]
for x in range(0,9):
	board[x]=""
while True:
	nextMove =int(raw_input("Enter position 0-8"))


