The first three lines contain three symbols $A_{i, j}$ each, describing the initial board.

The next three lines contain three symbols $B_{i, j}$ each, describing the final board.

Each cell of the board is described by three symbols:
\begin{itemize}
\item ``\t{.}'' --- denotes an empty cell;
\item ``\t{0}'' --- denotes a placed O;
\item ``\t{X}'' --- denotes a placed X.
\end{itemize}

It is guaranteed that board A can be obtained by a sequence of valid moves from an empty board.