import random

field=[" "," "," "," "," "," "," "," "," "]
field[4]="X"
print(field[0],"|",field[1],"|",field[2])
print("-","+","-","+","-")
print(field[3],"|",field[4],"|",field[5])
print("-","+","-","+","-")
print(field[6],"|",field[7],"|",field[8])



