Masala #HCGQJUHFJO
TicTacToe#Easy
Bolalar Tic Tac Toe o'ynini o'ynamoqdalar,ular sizga hozir yozgan 3x3 Tic Tac Toe chizmasini beradilar va siz,keyin kim yurish qilib yutishini chop eting.
Sizga Tic Tac Toe chizmasi beriladi,chizmada faqat O,X va nuqtadan tashkil topgan.U chizma 3x3 razmerda beriladi.Agar ular bitta yurishda yuta olmasalar Draw! deb chop eting.Agar O yutsa O yutadi deb chop eting,agar X yutsa X yutadi deb chop eting.
Masalani javobini chop eting.
# | input.txt | output.txt |
---|---|---|
1 |
O . . O . . . . . |
O yutadi |