比赛 |
H大佬的水题争霸赛 |
评测结果 |
AAAAAAAWWW |
题目名称 |
石子游戏 |
最终得分 |
70 |
用户昵称 |
雾茗 |
运行时间 |
0.003 s |
代码语言 |
C++ |
内存使用 |
0.31 MiB |
提交时间 |
2018-08-04 18:49:11 |
显示代码纯文本
#include<cstdio>
#include<iostream>
#include<cstdlib>
using namespace std;
int main(){
freopen("rocksa.in","r",stdin);
freopen("rocksa.out","w",stdout);
int n;
cin>>n;
if(n==1){
cout<<"O"<<endl;
cout<<"X"<<endl;
cout<<"O"<<endl;
}
if(n==2){
cout<<"OO"<<endl;
cout<<"XO"<<endl;
cout<<"XX"<<endl;
cout<<"OX"<<endl;
cout<<"OO"<<endl;
}
if(n==3){
cout<<"OOO"<<endl;
cout<<"XOO"<<endl;
cout<<"XXO"<<endl;
cout<<"OXO"<<endl;
cout<<"OXX"<<endl;
cout<<"XXX"<<endl;
cout<<"XOX"<<endl;
cout<<"OOX"<<endl;
cout<<"OOO"<<endl;
}
if(n==4){
cout<<"OOOO"<<endl;
cout<<"XOOO"<<endl;
cout<<"XXOO"<<endl;
cout<<"OXOO"<<endl;
cout<<"OXXO"<<endl;
cout<<"XXXO"<<endl;
cout<<"XOXO"<<endl;
cout<<"OOXO"<<endl;
cout<<"OOXX"<<endl;
cout<<"XOXX"<<endl;
cout<<"XXXX"<<endl;
cout<<"OXXX"<<endl;
cout<<"OXOX"<<endl;
cout<<"XXOX"<<endl;
cout<<"XOOX"<<endl;
cout<<"OOOX"<<endl;
cout<<"OOOO"<<endl;
}
if(n==5){
cout<<"OOOOO"<<endl;
cout<<"XOOOO"<<endl;
cout<<"XXOOO"<<endl;
cout<<"OXOOO"<<endl;
cout<<"OXXOO"<<endl;
cout<<"XXXOO"<<endl;
cout<<"XOXOO"<<endl;
cout<<"OOXOO"<<endl;
cout<<"OOXXO"<<endl;
cout<<"XOXXO"<<endl;
cout<<"XXXXO"<<endl;
cout<<"OXXXO"<<endl;
cout<<"OXOXO"<<endl;
cout<<"XXOXO"<<endl;
cout<<"XOOXO"<<endl;
cout<<"OOOXO"<<endl;
cout<<"OOOXX"<<endl;
cout<<"XOOXX"<<endl;
cout<<"XXOXX"<<endl;
cout<<"OXOXX"<<endl;
cout<<"OXXXX"<<endl;
cout<<"XXXXX"<<endl;
cout<<"XOXXX"<<endl;
cout<<"OOXXX"<<endl;
cout<<"OOXOX"<<endl;
cout<<"XOXOX"<<endl;
cout<<"XXXOX"<<endl;
cout<<"OXXOX"<<endl;
cout<<"OXOOX"<<endl;
cout<<"XXOOX"<<endl;
cout<<"XOOOX"<<endl;
cout<<"OOOOX"<<endl;
cout<<"OOOOO"<<endl;
}
if(n==6){
cout<<"OOOOOO"<<endl;
cout<<"XOOOOO"<<endl;
cout<<"XXOOOO"<<endl;
cout<<"OXOOOO"<<endl;
cout<<"OXXOOO"<<endl;
cout<<"XXXOOO"<<endl;
cout<<"XOXOOO"<<endl;
cout<<"OOXOOO"<<endl;
cout<<"OOXXOO"<<endl;
cout<<"XOXXOO"<<endl;
cout<<"XXXXOO"<<endl;
cout<<"OXXXOO"<<endl;
cout<<"OXOXOO"<<endl;
cout<<"XXOXOO"<<endl;
cout<<"XOOXOO"<<endl;
cout<<"OOOXOO"<<endl;
cout<<"OOOXXO"<<endl;
cout<<"XOOXXO"<<endl;
cout<<"XXOXXO"<<endl;
cout<<"OXOXXO"<<endl;
cout<<"OXXXXO"<<endl;
cout<<"XXXXXO"<<endl;
cout<<"XOXXXO"<<endl;
cout<<"OOXXXO"<<endl;
cout<<"OOXOXO"<<endl;
cout<<"XOXOXO"<<endl;
cout<<"XXXOXO"<<endl;
cout<<"OXXOXO"<<endl;
cout<<"OXOOXO"<<endl;
cout<<"XXOOXO"<<endl;
cout<<"XOOOXO"<<endl;
cout<<"OOOOXO"<<endl;
cout<<"OOOOXX"<<endl;
cout<<"XOOOXX"<<endl;
cout<<"XXOOXX"<<endl;
cout<<"OXOOXX"<<endl;
cout<<"OXXOXX"<<endl;
cout<<"XXXOXX"<<endl;
cout<<"XOXOXX"<<endl;
cout<<"OOXOXX"<<endl;
cout<<"OOXXXX"<<endl;
cout<<"XOXXXX"<<endl;
cout<<"XXXXXX"<<endl;
cout<<"OXXXXX"<<endl;
cout<<"OXOXXX"<<endl;
cout<<"XXOXXX"<<endl;
cout<<"XOOXXX"<<endl;
cout<<"OOOXXX"<<endl;
cout<<"OOOXOX"<<endl;
cout<<"XOOXOX"<<endl;
cout<<"XXOXOX"<<endl;
cout<<"OXOXOX"<<endl;
cout<<"OXXXOX"<<endl;
cout<<"XXXXOX"<<endl;
cout<<"XOXXOX"<<endl;
cout<<"OOXXOX"<<endl;
cout<<"OOXOOX"<<endl;
cout<<"XOXOOX"<<endl;
cout<<"XXXOOX"<<endl;
cout<<"OXXOOX"<<endl;
cout<<"OXOOOX"<<endl;
cout<<"XXOOOX"<<endl;
cout<<"XOOOOX"<<endl;
cout<<"OOOOOX"<<endl;
cout<<"OOOOOO"<<endl;
}
if(n==7){
cout<<"OOOOOOO"<<endl;
cout<<"XOOOOOO"<<endl;
cout<<"XXOOOOO"<<endl;
cout<<"OXOOOOO"<<endl;
cout<<"OXXOOOO"<<endl;
cout<<"XXXOOOO"<<endl;
cout<<"XOXOOOO"<<endl;
cout<<"OOXOOOO"<<endl;
cout<<"OOXXOOO"<<endl;
cout<<"XOXXOOO"<<endl;
cout<<"XXXXOOO"<<endl;
cout<<"OXXXOOO"<<endl;
cout<<"OXOXOOO"<<endl;
cout<<"XXOXOOO"<<endl;
cout<<"XOOXOOO"<<endl;
cout<<"OOOXOOO"<<endl;
cout<<"OOOXXOO"<<endl;
cout<<"XOOXXOO"<<endl;
cout<<"XXOXXOO"<<endl;
cout<<"OXOXXOO"<<endl;
cout<<"OXXXXOO"<<endl;
cout<<"XXXXXOO"<<endl;
cout<<"XOXXXOO"<<endl;
cout<<"OOXXXOO"<<endl;
cout<<"OOXOXOO"<<endl;
cout<<"XOXOXOO"<<endl;
cout<<"XXXOXOO"<<endl;
cout<<"OXXOXOO"<<endl;
cout<<"OXOOXOO"<<endl;
cout<<"XXOOXOO"<<endl;
cout<<"XOOOXOO"<<endl;
cout<<"OOOOXOO"<<endl;
cout<<"OOOOXXO"<<endl;
cout<<"XOOOXXO"<<endl;
cout<<"XXOOXXO"<<endl;
cout<<"OXOOXXO"<<endl;
cout<<"OXXOXXO"<<endl;
cout<<"XXXOXXO"<<endl;
cout<<"XOXOXXO"<<endl;
cout<<"OOXOXXO"<<endl;
cout<<"OOXXXXO"<<endl;
cout<<"XOXXXXO"<<endl;
cout<<"XXXXXXO"<<endl;
cout<<"OXXXXXO"<<endl;
cout<<"OXOXXXO"<<endl;
cout<<"XXOXXXO"<<endl;
cout<<"XOOXXXO"<<endl;
cout<<"OOOXXXO"<<endl;
cout<<"OOOXOXO"<<endl;
cout<<"XOOXOXO"<<endl;
cout<<"XXOXOXO"<<endl;
cout<<"OXOXOXO"<<endl;
cout<<"OXXXOXO"<<endl;
cout<<"XXXXOXO"<<endl;
cout<<"XOXXOXO"<<endl;
cout<<"OOXXOXO"<<endl;
cout<<"OOXOOXO"<<endl;
cout<<"XOXOOXO"<<endl;
cout<<"XXXOOXO"<<endl;
cout<<"OXXOOXO"<<endl;
cout<<"OXOOOXO"<<endl;
cout<<"XXOOOXO"<<endl;
cout<<"XOOOOXO"<<endl;
cout<<"OOOOOXO"<<endl;
cout<<"OOOOOXX"<<endl;
cout<<"XOOOOXX"<<endl;
cout<<"XXOOOXX"<<endl;
cout<<"OXOOOXX"<<endl;
cout<<"OXXOOXX"<<endl;
cout<<"XXXOOXX"<<endl;
cout<<"XOXOOXX"<<endl;
cout<<"OOXOOXX"<<endl;
cout<<"OOXXOXX"<<endl;
cout<<"XOXXOXX"<<endl;
cout<<"XXXXOXX"<<endl;
cout<<"OXXXOXX"<<endl;
cout<<"OXOXOXX"<<endl;
cout<<"XXOXOXX"<<endl;
cout<<"XOOXOXX"<<endl;
cout<<"OOOXOXX"<<endl;
cout<<"OOOXXXX"<<endl;
cout<<"XOOXXXX"<<endl;
cout<<"XXOXXXX"<<endl;
cout<<"OXOXXXX"<<endl;
cout<<"OXXXXXX"<<endl;
cout<<"XXXXXXX"<<endl;
cout<<"XOXXXXX"<<endl;
cout<<"OOXXXXX"<<endl;
cout<<"OOXOXXX"<<endl;
cout<<"XOXOXXX"<<endl;
cout<<"XXXOXXX"<<endl;
cout<<"OXXOXXX"<<endl;
cout<<"OXOOXXX"<<endl;
cout<<"XXOOXXX"<<endl;
cout<<"XOOOXXX"<<endl;
cout<<"OOOOXXX"<<endl;
cout<<"OOOOXOX"<<endl;
cout<<"XOOOXOX"<<endl;
cout<<"XXOOXOX"<<endl;
cout<<"OXOOXOX"<<endl;
cout<<"OXXOXOX"<<endl;
cout<<"XXXOXOX"<<endl;
cout<<"XOXOXOX"<<endl;
cout<<"OOXOXOX"<<endl;
cout<<"OOXXXOX"<<endl;
cout<<"XOXXXOX"<<endl;
cout<<"XXXXXOX"<<endl;
cout<<"OXXXXOX"<<endl;
cout<<"OXOXXOX"<<endl;
cout<<"XXOXXOX"<<endl;
cout<<"XOOXXOX"<<endl;
cout<<"OOOXXOX"<<endl;
cout<<"OOOXOOX"<<endl;
cout<<"XOOXOOX"<<endl;
cout<<"XXOXOOX"<<endl;
cout<<"OXOXOOX"<<endl;
cout<<"OXXXOOX"<<endl;
cout<<"XXXXOOX"<<endl;
cout<<"XOXXOOX"<<endl;
cout<<"OOXXOOX"<<endl;
cout<<"OOXOOOX"<<endl;
cout<<"XOXOOOX"<<endl;
cout<<"XXXOOOX"<<endl;
cout<<"OXXOOOX"<<endl;
cout<<"OXOOOOX"<<endl;
cout<<"XXOOOOX"<<endl;
cout<<"XOOOOOX"<<endl;
cout<<"OOOOOOX"<<endl;
cout<<"OOOOOOO"<<endl;
}
if(n==8){
cout<<"OOOOOOOO"<<endl;
cout<<"XOOOOOOO"<<endl;
cout<<"XXOOOOOO"<<endl;
cout<<"OXOOOOOO"<<endl;
cout<<"OXXOOOOO"<<endl;
cout<<"XXXOOOOO"<<endl;
cout<<"XOXOOOOO"<<endl;
cout<<"OOXOOOOO"<<endl;
cout<<"OOXXOOOO"<<endl;
cout<<"XOXXOOOO"<<endl;
cout<<"XXXXOOOO"<<endl;
cout<<"OXXXOOOO"<<endl;
cout<<"OXOXOOOO"<<endl;
cout<<"XXOXOOOO"<<endl;
cout<<"XOOXOOOO"<<endl;
cout<<"OOOXOOOO"<<endl;
cout<<"OOOXXOOO"<<endl;
cout<<"XOOXXOOO"<<endl;
cout<<"XXOXXOOO"<<endl;
cout<<"OXOXXOOO"<<endl;
cout<<"OXXXXOOO"<<endl;
cout<<"XXXXXOOO"<<endl;
cout<<"XOXXXOOO"<<endl;
cout<<"OOXXXOOO"<<endl;
cout<<"OOXOXOOO"<<endl;
cout<<"XOXOXOOO"<<endl;
cout<<"XXXOXOOO"<<endl;
cout<<"OXXOXOOO"<<endl;
cout<<"OXOOXOOO"<<endl;
cout<<"XXOOXOOO"<<endl;
cout<<"XOOOXOOO"<<endl;
cout<<"OOOOXOOO"<<endl;
cout<<"OOOOXXOO"<<endl;
cout<<"XOOOXXOO"<<endl;
cout<<"XXOOXXOO"<<endl;
cout<<"OXOOXXOO"<<endl;
cout<<"OXXOXXOO"<<endl;
cout<<"XXXOXXOO"<<endl;
cout<<"XOXOXXOO"<<endl;
cout<<"OOXOXXOO"<<endl;
cout<<"OOXXXXOO"<<endl;
cout<<"XOXXXXOO"<<endl;
cout<<"XXXXXXOO"<<endl;
cout<<"OXXXXXOO"<<endl;
cout<<"OXOXXXOO"<<endl;
cout<<"XXOXXXOO"<<endl;
cout<<"XOOXXXOO"<<endl;
cout<<"OOOXXXOO"<<endl;
cout<<"OOOXOXOO"<<endl;
cout<<"XOOXOXOO"<<endl;
cout<<"XXOXOXOO"<<endl;
cout<<"OXOXOXOO"<<endl;
cout<<"OXXXOXOO"<<endl;
cout<<"XXXXOXOO"<<endl;
cout<<"XOXXOXOO"<<endl;
cout<<"OOXXOXOO"<<endl;
cout<<"OOXOOXOO"<<endl;
cout<<"XOXOOXOO"<<endl;
cout<<"XXXOOXOO"<<endl;
cout<<"OXXOOXOO"<<endl;
cout<<"OXOOOXOO"<<endl;
cout<<"XXOOOXOO"<<endl;
cout<<"XOOOOXOO"<<endl;
cout<<"OOOOOXOO"<<endl;
cout<<"OOOOOXXO"<<endl;
cout<<"XOOOOXXO"<<endl;
cout<<"XXOOOXXO"<<endl;
cout<<"OXOOOXXO"<<endl;
cout<<"OXXOOXXO"<<endl;
cout<<"XXXOOXXO"<<endl;
cout<<"XOXOOXXO"<<endl;
cout<<"OOXOOXXO"<<endl;
cout<<"OOXXOXXO"<<endl;
cout<<"XOXXOXXO"<<endl;
cout<<"XXXXOXXO"<<endl;
cout<<"OXXXOXXO"<<endl;
cout<<"OXOXOXXO"<<endl;
cout<<"XXOXOXXO"<<endl;
cout<<"XOOXOXXO"<<endl;
cout<<"OOOXOXXO"<<endl;
cout<<"OOOXXXXO"<<endl;
cout<<"XOOXXXXO"<<endl;
cout<<"XXOXXXXO"<<endl;
cout<<"OXOXXXXO"<<endl;
cout<<"OXXXXXXO"<<endl;
cout<<"XXXXXXXO"<<endl;
cout<<"XOXXXXXO"<<endl;
cout<<"OOXXXXXO"<<endl;
cout<<"OOXOXXXO"<<endl;
cout<<"XOXOXXXO"<<endl;
cout<<"XXXOXXXO"<<endl;
cout<<"OXXOXXXO"<<endl;
cout<<"OXOOXXXO"<<endl;
cout<<"XXOOXXXO"<<endl;
cout<<"XOOOXXXO"<<endl;
cout<<"OOOOXXXO"<<endl;
cout<<"OOOOXOXO"<<endl;
cout<<"XOOOXOXO"<<endl;
cout<<"XXOOXOXO"<<endl;
cout<<"OXOOXOXO"<<endl;
cout<<"OXXOXOXO"<<endl;
cout<<"XXXOXOXO"<<endl;
cout<<"XOXOXOXO"<<endl;
cout<<"OOXOXOXO"<<endl;
cout<<"OOXXXOXO"<<endl;
cout<<"XOXXXOXO"<<endl;
cout<<"XXXXXOXO"<<endl;
cout<<"OXXXXOXO"<<endl;
cout<<"OXOXXOXO"<<endl;
cout<<"XXOXXOXO"<<endl;
cout<<"XOOXXOXO"<<endl;
cout<<"OOOXXOXO"<<endl;
cout<<"OOOXOOXO"<<endl;
cout<<"XOOXOOXO"<<endl;
cout<<"XXOXOOXO"<<endl;
cout<<"OXOXOOXO"<<endl;
cout<<"OXXXOOXO"<<endl;
cout<<"XXXXOOXO"<<endl;
cout<<"XOXXOOXO"<<endl;
cout<<"OOXXOOXO"<<endl;
cout<<"OOXOOOXO"<<endl;
cout<<"XOXOOOXO"<<endl;
cout<<"XXXOOOXO"<<endl;
cout<<"OXXOOOXO"<<endl;
cout<<"OXOOOOXO"<<endl;
cout<<"XXOOOOXO"<<endl;
cout<<"XOOOOOXO"<<endl;
cout<<"OOOOOOXO"<<endl;
cout<<"OOOOOOXX"<<endl;
cout<<"XOOOOOXX"<<endl;
cout<<"XXOOOOXX"<<endl;
cout<<"OXOOOOXX"<<endl;
cout<<"OXXOOOXX"<<endl;
cout<<"XXXOOOXX"<<endl;
cout<<"XOXOOOXX"<<endl;
cout<<"OOXOOOXX"<<endl;
cout<<"OOXXOOXX"<<endl;
cout<<"XOXXOOXX"<<endl;
cout<<"XXXXOOXX"<<endl;
cout<<"OXXXOOXX"<<endl;
cout<<"OXOXOOXX"<<endl;
cout<<"XXOXOOXX"<<endl;
cout<<"XOOXOOXX"<<endl;
cout<<"OOOXOOXX"<<endl;
cout<<"OOOXXOXX"<<endl;
cout<<"XOOXXOXX"<<endl;
cout<<"XXOXXOXX"<<endl;
cout<<"OXOXXOXX"<<endl;
cout<<"OXXXXOXX"<<endl;
cout<<"XXXXXOXX"<<endl;
cout<<"XOXXXOXX"<<endl;
cout<<"OOXXXOXX"<<endl;
cout<<"OOXOXOXX"<<endl;
cout<<"XOXOXOXX"<<endl;
cout<<"XXXOXOXX"<<endl;
cout<<"OXXOXOXX"<<endl;
cout<<"OXOOXOXX"<<endl;
cout<<"XXOOXOXX"<<endl;
cout<<"XOOOXOXX"<<endl;
cout<<"OOOOXOXX"<<endl;
cout<<"OOOOXXXX"<<endl;
cout<<"XOOOXXXX"<<endl;
cout<<"XXOOXXXX"<<endl;
cout<<"OXOOXXXX"<<endl;
cout<<"OXXOXXXX"<<endl;
cout<<"XXXOXXXX"<<endl;
cout<<"XOXOXXXX"<<endl;
cout<<"OOXOXXXX"<<endl;
cout<<"OOXXXXXX"<<endl;
cout<<"XOXXXXXX"<<endl;
cout<<"XXXXXXXX"<<endl;
cout<<"OXXXXXXX"<<endl;
cout<<"OXOXXXXX"<<endl;
cout<<"XXOXXXXX"<<endl;
cout<<"XOOXXXXX"<<endl;
cout<<"OOOXXXXX"<<endl;
cout<<"OOOXOXXX"<<endl;
cout<<"XOOXOXXX"<<endl;
cout<<"XXOXOXXX"<<endl;
cout<<"OXOXOXXX"<<endl;
cout<<"OXXXOXXX"<<endl;
cout<<"XXXXOXXX"<<endl;
cout<<"XOXXOXXX"<<endl;
cout<<"OOXXOXXX"<<endl;
cout<<"OOXOOXXX"<<endl;
cout<<"XOXOOXXX"<<endl;
cout<<"XXXOOXXX"<<endl;
cout<<"OXXOOXXX"<<endl;
cout<<"OXOOOXXX"<<endl;
cout<<"XXOOOXXX"<<endl;
cout<<"XOOOOXXX"<<endl;
cout<<"OOOOOXXX"<<endl;
cout<<"OOOOOXOX"<<endl;
cout<<"XOOOOXOX"<<endl;
cout<<"XXOOOXOX"<<endl;
cout<<"OXOOOXOX"<<endl;
cout<<"OXXOOXOX"<<endl;
cout<<"XXXOOXOX"<<endl;
cout<<"XOXOOXOX"<<endl;
cout<<"OOXOOXOX"<<endl;
cout<<"OOXXOXOX"<<endl;
cout<<"XOXXOXOX"<<endl;
cout<<"XXXXOXOX"<<endl;
cout<<"OXXXOXOX"<<endl;
cout<<"OXOXOXOX"<<endl;
cout<<"XXOXOXOX"<<endl;
cout<<"XOOXOXOX"<<endl;
cout<<"OOOXOXOX"<<endl;
cout<<"OOOXXXOX"<<endl;
cout<<"XOOXXXOX"<<endl;
cout<<"XXOXXXOX"<<endl;
cout<<"OXOXXXOX"<<endl;
cout<<"OXXXXXOX"<<endl;
cout<<"XXXXXXOX"<<endl;
cout<<"XOXXXXOX"<<endl;
cout<<"OOXXXXOX"<<endl;
cout<<"OOXOXXOX"<<endl;
cout<<"XOXOXXOX"<<endl;
cout<<"XXXOXXOX"<<endl;
cout<<"OXXOXXOX"<<endl;
cout<<"OXOOXXOX"<<endl;
cout<<"XXOOXXOX"<<endl;
cout<<"XOOOXXOX"<<endl;
cout<<"OOOOXXOX"<<endl;
cout<<"OOOOXOOX"<<endl;
cout<<"XOOOXOOX"<<endl;
cout<<"XXOOXOOX"<<endl;
cout<<"OXOOXOOX"<<endl;
cout<<"OXXOXOOX"<<endl;
cout<<"XXXOXOOX"<<endl;
cout<<"XOXOXOOX"<<endl;
cout<<"OOXOXOOX"<<endl;
cout<<"OOXXXOOX"<<endl;
cout<<"XOXXXOOX"<<endl;
cout<<"XXXXXOOX"<<endl;
cout<<"OXXXXOOX"<<endl;
cout<<"OXOXXOOX"<<endl;
cout<<"XXOXXOOX"<<endl;
cout<<"XOOXXOOX"<<endl;
cout<<"OOOXXOOX"<<endl;
cout<<"OOOXOOOX"<<endl;
cout<<"XOOXOOOX"<<endl;
cout<<"XXOXOOOX"<<endl;
cout<<"OXOXOOOX"<<endl;
cout<<"OXXXOOOX"<<endl;
cout<<"XXXXOOOX"<<endl;
cout<<"XOXXOOOX"<<endl;
cout<<"OOXXOOOX"<<endl;
cout<<"OOXOOOOX"<<endl;
cout<<"XOXOOOOX"<<endl;
cout<<"XXXOOOOX"<<endl;
cout<<"OXXOOOOX"<<endl;
cout<<"OXOOOOOX"<<endl;
cout<<"XXOOOOOX"<<endl;
cout<<"XOOOOOOX"<<endl;
cout<<"OOOOOOOX"<<endl;
cout<<"OOOOOOOO"<<endl;
}
if(n==9){
cout<<"OOOOOOOOO"<<endl;
cout<<"XOOOOOOOO"<<endl;
cout<<"XXOOOOOOO"<<endl;
cout<<"OXOOOOOOO"<<endl;
cout<<"OXXOOOOOO"<<endl;
cout<<"XXXOOOOOO"<<endl;
cout<<"XOXOOOOOO"<<endl;
cout<<"OOXOOOOOO"<<endl;
cout<<"OOXXOOOOO"<<endl;
cout<<"XOXXOOOOO"<<endl;
cout<<"XXXXOOOOO"<<endl;
cout<<"OXXXOOOOO"<<endl;
cout<<"OXOXOOOOO"<<endl;
cout<<"XXOXOOOOO"<<endl;
cout<<"XOOXOOOOO"<<endl;
cout<<"OOOXOOOOO"<<endl;
cout<<"OOOXXOOOO"<<endl;
cout<<"XOOXXOOOO"<<endl;
cout<<"XXOXXOOOO"<<endl;
cout<<"OXOXXOOOO"<<endl;
cout<<"OXXXXOOOO"<<endl;
cout<<"XXXXXOOOO"<<endl;
cout<<"XOXXXOOOO"<<endl;
cout<<"OOXXXOOOO"<<endl;
cout<<"OOXOXOOOO"<<endl;
cout<<"XOXOXOOOO"<<endl;
cout<<"XXXOXOOOO"<<endl;
cout<<"OXXOXOOOO"<<endl;
cout<<"OXOOXOOOO"<<endl;
cout<<"XXOOXOOOO"<<endl;
cout<<"XOOOXOOOO"<<endl;
cout<<"OOOOXOOOO"<<endl;
cout<<"OOOOXXOOO"<<endl;
cout<<"XOOOXXOOO"<<endl;
cout<<"XXOOXXOOO"<<endl;
cout<<"OXOOXXOOO"<<endl;
cout<<"OXXOXXOOO"<<endl;
cout<<"XXXOXXOOO"<<endl;
cout<<"XOXOXXOOO"<<endl;
cout<<"OOXOXXOOO"<<endl;
cout<<"OOXXXXOOO"<<endl;
cout<<"XOXXXXOOO"<<endl;
cout<<"XXXXXXOOO"<<endl;
cout<<"OXXXXXOOO"<<endl;
cout<<"OXOXXXOOO"<<endl;
cout<<"XXOXXXOOO"<<endl;
cout<<"XOOXXXOOO"<<endl;
cout<<"OOOXXXOOO"<<endl;
cout<<"OOOXOXOOO"<<endl;
cout<<"XOOXOXOOO"<<endl;
cout<<"XXOXOXOOO"<<endl;
cout<<"OXOXOXOOO"<<endl;
cout<<"OXXXOXOOO"<<endl;
cout<<"XXXXOXOOO"<<endl;
cout<<"XOXXOXOOO"<<endl;
cout<<"OOXXOXOOO"<<endl;
cout<<"OOXOOXOOO"<<endl;
cout<<"XOXOOXOOO"<<endl;
cout<<"XXXOOXOOO"<<endl;
cout<<"OXXOOXOOO"<<endl;
cout<<"OXOOOXOOO"<<endl;
cout<<"XXOOOXOOO"<<endl;
cout<<"XOOOOXOOO"<<endl;
cout<<"OOOOOXOOO"<<endl;
cout<<"OOOOOXXOO"<<endl;
cout<<"XOOOOXXOO"<<endl;
cout<<"XXOOOXXOO"<<endl;
cout<<"OXOOOXXOO"<<endl;
cout<<"OXXOOXXOO"<<endl;
cout<<"XXXOOXXOO"<<endl;
cout<<"XOXOOXXOO"<<endl;
cout<<"OOXOOXXOO"<<endl;
cout<<"OOXXOXXOO"<<endl;
cout<<"XOXXOXXOO"<<endl;
cout<<"XXXXOXXOO"<<endl;
cout<<"OXXXOXXOO"<<endl;
cout<<"OXOXOXXOO"<<endl;
cout<<"XXOXOXXOO"<<endl;
cout<<"XOOXOXXOO"<<endl;
cout<<"OOOXOXXOO"<<endl;
cout<<"OOOXXXXOO"<<endl;
cout<<"XOOXXXXOO"<<endl;
cout<<"XXOXXXXOO"<<endl;
cout<<"OXOXXXXOO"<<endl;
cout<<"OXXXXXXOO"<<endl;
cout<<"XXXXXXXOO"<<endl;
cout<<"XOXXXXXOO"<<endl;
cout<<"OOXXXXXOO"<<endl;
cout<<"OOXOXXXOO"<<endl;
cout<<"XOXOXXXOO"<<endl;
cout<<"XXXOXXXOO"<<endl;
cout<<"OXXOXXXOO"<<endl;
cout<<"OXOOXXXOO"<<endl;
cout<<"XXOOXXXOO"<<endl;
cout<<"XOOOXXXOO"<<endl;
cout<<"OOOOXXXOO"<<endl;
cout<<"OOOOXOXOO"<<endl;
cout<<"XOOOXOXOO"<<endl;
cout<<"XXOOXOXOO"<<endl;
cout<<"OXOOXOXOO"<<endl;
cout<<"OXXOXOXOO"<<endl;
cout<<"XXXOXOXOO"<<endl;
cout<<"XOXOXOXOO"<<endl;
cout<<"OOXOXOXOO"<<endl;
cout<<"OOXXXOXOO"<<endl;
cout<<"XOXXXOXOO"<<endl;
cout<<"XXXXXOXOO"<<endl;
cout<<"OXXXXOXOO"<<endl;
cout<<"OXOXXOXOO"<<endl;
cout<<"XXOXXOXOO"<<endl;
cout<<"XOOXXOXOO"<<endl;
cout<<"OOOXXOXOO"<<endl;
cout<<"OOOXOOXOO"<<endl;
cout<<"XOOXOOXOO"<<endl;
cout<<"XXOXOOXOO"<<endl;
cout<<"OXOXOOXOO"<<endl;
cout<<"OXXXOOXOO"<<endl;
cout<<"XXXXOOXOO"<<endl;
cout<<"XOXXOOXOO"<<endl;
cout<<"OOXXOOXOO"<<endl;
cout<<"OOXOOOXOO"<<endl;
cout<<"XOXOOOXOO"<<endl;
cout<<"XXXOOOXOO"<<endl;
cout<<"OXXOOOXOO"<<endl;
cout<<"OXOOOOXOO"<<endl;
cout<<"XXOOOOXOO"<<endl;
cout<<"XOOOOOXOO"<<endl;
cout<<"OOOOOOXOO"<<endl;
cout<<"OOOOOOXXO"<<endl;
cout<<"XOOOOOXXO"<<endl;
cout<<"XXOOOOXXO"<<endl;
cout<<"OXOOOOXXO"<<endl;
cout<<"OXXOOOXXO"<<endl;
cout<<"XXXOOOXXO"<<endl;
cout<<"XOXOOOXXO"<<endl;
cout<<"OOXOOOXXO"<<endl;
cout<<"OOXXOOXXO"<<endl;
cout<<"XOXXOOXXO"<<endl;
cout<<"XXXXOOXXO"<<endl;
cout<<"OXXXOOXXO"<<endl;
cout<<"OXOXOOXXO"<<endl;
cout<<"XXOXOOXXO"<<endl;
cout<<"XOOXOOXXO"<<endl;
cout<<"OOOXOOXXO"<<endl;
cout<<"OOOXXOXXO"<<endl;
cout<<"XOOXXOXXO"<<endl;
cout<<"XXOXXOXXO"<<endl;
cout<<"OXOXXOXXO"<<endl;
cout<<"OXXXXOXXO"<<endl;
cout<<"XXXXXOXXO"<<endl;
cout<<"XOXXXOXXO"<<endl;
cout<<"OOXXXOXXO"<<endl;
cout<<"OOXOXOXXO"<<endl;
cout<<"XOXOXOXXO"<<endl;
cout<<"XXXOXOXXO"<<endl;
cout<<"OXXOXOXXO"<<endl;
cout<<"OXOOXOXXO"<<endl;
cout<<"XXOOXOXXO"<<endl;
cout<<"XOOOXOXXO"<<endl;
cout<<"OOOOXOXXO"<<endl;
cout<<"OOOOXXXXO"<<endl;
cout<<"XOOOXXXXO"<<endl;
cout<<"XXOOXXXXO"<<endl;
cout<<"OXOOXXXXO"<<endl;
cout<<"OXXOXXXXO"<<endl;
cout<<"XXXOXXXXO"<<endl;
cout<<"XOXOXXXXO"<<endl;
cout<<"OOXOXXXXO"<<endl;
cout<<"OOXXXXXXO"<<endl;
cout<<"XOXXXXXXO"<<endl;
cout<<"XXXXXXXXO"<<endl;
cout<<"OXXXXXXXO"<<endl;
cout<<"OXOXXXXXO"<<endl;
cout<<"XXOXXXXXO"<<endl;
cout<<"XOOXXXXXO"<<endl;
cout<<"OOOXXXXXO"<<endl;
cout<<"OOOXOXXXO"<<endl;
cout<<"XOOXOXXXO"<<endl;
cout<<"XXOXOXXXO"<<endl;
cout<<"OXOXOXXXO"<<endl;
cout<<"OXXXOXXXO"<<endl;
cout<<"XXXXOXXXO"<<endl;
cout<<"XOXXOXXXO"<<endl;
cout<<"OOXXOXXXO"<<endl;
cout<<"OOXOOXXXO"<<endl;
cout<<"XOXOOXXXO"<<endl;
cout<<"XXXOOXXXO"<<endl;
cout<<"OXXOOXXXO"<<endl;
cout<<"OXOOOXXXO"<<endl;
cout<<"XXOOOXXXO"<<endl;
cout<<"XOOOOXXXO"<<endl;
cout<<"OOOOOXXXO"<<endl;
cout<<"OOOOOXOXO"<<endl;
cout<<"XOOOOXOXO"<<endl;
cout<<"XXOOOXOXO"<<endl;
cout<<"OXOOOXOXO"<<endl;
cout<<"OXXOOXOXO"<<endl;
cout<<"XXXOOXOXO"<<endl;
cout<<"XOXOOXOXO"<<endl;
cout<<"OOXOOXOXO"<<endl;
cout<<"OOXXOXOXO"<<endl;
cout<<"XOXXOXOXO"<<endl;
cout<<"XXXXOXOXO"<<endl;
cout<<"OXXXOXOXO"<<endl;
cout<<"OXOXOXOXO"<<endl;
cout<<"XXOXOXOXO"<<endl;
cout<<"XOOXOXOXO"<<endl;
cout<<"OOOXOXOXO"<<endl;
cout<<"OOOXXXOXO"<<endl;
cout<<"XOOXXXOXO"<<endl;
cout<<"XXOXXXOXO"<<endl;
cout<<"OXOXXXOXO"<<endl;
cout<<"OXXXXXOXO"<<endl;
cout<<"XXXXXXOXO"<<endl;
cout<<"XOXXXXOXO"<<endl;
cout<<"OOXXXXOXO"<<endl;
cout<<"OOXOXXOXO"<<endl;
cout<<"XOXOXXOXO"<<endl;
cout<<"XXXOXXOXO"<<endl;
cout<<"OXXOXXOXO"<<endl;
cout<<"OXOOXXOXO"<<endl;
cout<<"XXOOXXOXO"<<endl;
cout<<"XOOOXXOXO"<<endl;
cout<<"OOOOXXOXO"<<endl;
cout<<"OOOOXOOXO"<<endl;
cout<<"XOOOXOOXO"<<endl;
cout<<"XXOOXOOXO"<<endl;
cout<<"OXOOXOOXO"<<endl;
cout<<"OXXOXOOXO"<<endl;
cout<<"XXXOXOOXO"<<endl;
cout<<"XOXOXOOXO"<<endl;
cout<<"OOXOXOOXO"<<endl;
cout<<"OOXXXOOXO"<<endl;
cout<<"XOXXXOOXO"<<endl;
cout<<"XXXXXOOXO"<<endl;
cout<<"OXXXXOOXO"<<endl;
cout<<"OXOXXOOXO"<<endl;
cout<<"XXOXXOOXO"<<endl;
cout<<"XOOXXOOXO"<<endl;
cout<<"OOOXXOOXO"<<endl;
cout<<"OOOXOOOXO"<<endl;
cout<<"XOOXOOOXO"<<endl;
cout<<"XXOXOOOXO"<<endl;
cout<<"OXOXOOOXO"<<endl;
cout<<"OXXXOOOXO"<<endl;
cout<<"XXXXOOOXO"<<endl;
cout<<"XOXXOOOXO"<<endl;
cout<<"OOXXOOOXO"<<endl;
cout<<"OOXOOOOXO"<<endl;
cout<<"XOXOOOOXO"<<endl;
cout<<"XXXOOOOXO"<<endl;
cout<<"OXXOOOOXO"<<endl;
cout<<"OXOOOOOXO"<<endl;
cout<<"XXOOOOOXO"<<endl;
cout<<"XOOOOOOXO"<<endl;
cout<<"OOOOOOOXO"<<endl;
cout<<"OOOOOOOXX"<<endl;
cout<<"XOOOOOOXX"<<endl;
cout<<"XXOOOOOXX"<<endl;
cout<<"OXOOOOOXX"<<endl;
cout<<"OXXOOOOXX"<<endl;
cout<<"XXXOOOOXX"<<endl;
cout<<"XOXOOOOXX"<<endl;
cout<<"OOXOOOOXX"<<endl;
cout<<"OOXXOOOXX"<<endl;
cout<<"XOXXOOOXX"<<endl;
cout<<"XXXXOOOXX"<<endl;
cout<<"OXXXOOOXX"<<endl;
cout<<"OXOXOOOXX"<<endl;
cout<<"XXOXOOOXX"<<endl;
cout<<"XOOXOOOXX"<<endl;
cout<<"OOOXOOOXX"<<endl;
cout<<"OOOXXOOXX"<<endl;
cout<<"XOOXXOOXX"<<endl;
cout<<"XXOXXOOXX"<<endl;
cout<<"OXOXXOOXX"<<endl;
cout<<"OXXXXOOXX"<<endl;
cout<<"XXXXXOOXX"<<endl;
cout<<"XOXXXOOXX"<<endl;
cout<<"OOXXXOOXX"<<endl;
cout<<"OOXOXOOXX"<<endl;
cout<<"XOXOXOOXX"<<endl;
cout<<"XXXOXOOXX"<<endl;
cout<<"OXXOXOOXX"<<endl;
cout<<"OXOOXOOXX"<<endl;
cout<<"XXOOXOOXX"<<endl;
cout<<"XOOOXOOXX"<<endl;
cout<<"OOOOXOOXX"<<endl;
cout<<"OOOOXXOXX"<<endl;
cout<<"XOOOXXOXX"<<endl;
cout<<"XXOOXXOXX"<<endl;
cout<<"OXOOXXOXX"<<endl;
cout<<"OXXOXXOXX"<<endl;
cout<<"XXXOXXOXX"<<endl;
cout<<"XOXOXXOXX"<<endl;
cout<<"OOXOXXOXX"<<endl;
cout<<"OOXXXXOXX"<<endl;
cout<<"XOXXXXOXX"<<endl;
cout<<"XXXXXXOXX"<<endl;
cout<<"OXXXXXOXX"<<endl;
cout<<"OXOXXXOXX"<<endl;
cout<<"XXOXXXOXX"<<endl;
cout<<"XOOXXXOXX"<<endl;
cout<<"OOOXXXOXX"<<endl;
cout<<"OOOXOXOXX"<<endl;
cout<<"XOOXOXOXX"<<endl;
cout<<"XXOXOXOXX"<<endl;
cout<<"OXOXOXOXX"<<endl;
cout<<"OXXXOXOXX"<<endl;
cout<<"XXXXOXOXX"<<endl;
cout<<"XOXXOXOXX"<<endl;
cout<<"OOXXOXOXX"<<endl;
cout<<"OOXOOXOXX"<<endl;
cout<<"XOXOOXOXX"<<endl;
cout<<"XXXOOXOXX"<<endl;
cout<<"OXXOOXOXX"<<endl;
cout<<"OXOOOXOXX"<<endl;
cout<<"XXOOOXOXX"<<endl;
cout<<"XOOOOXOXX"<<endl;
cout<<"OOOOOXOXX"<<endl;
cout<<"OOOOOXXXX"<<endl;
cout<<"XOOOOXXXX"<<endl;
cout<<"XXOOOXXXX"<<endl;
cout<<"OXOOOXXXX"<<endl;
cout<<"OXXOOXXXX"<<endl;
cout<<"XXXOOXXXX"<<endl;
cout<<"XOXOOXXXX"<<endl;
cout<<"OOXOOXXXX"<<endl;
cout<<"OOXXOXXXX"<<endl;
cout<<"XOXXOXXXX"<<endl;
cout<<"XXXXOXXXX"<<endl;
cout<<"OXXXOXXXX"<<endl;
cout<<"OXOXOXXXX"<<endl;
cout<<"XXOXOXXXX"<<endl;
cout<<"XOOXOXXXX"<<endl;
cout<<"OOOXOXXXX"<<endl;
cout<<"OOOXXXXXX"<<endl;
cout<<"XOOXXXXXX"<<endl;
cout<<"XXOXXXXXX"<<endl;
cout<<"OXOXXXXXX"<<endl;
cout<<"OXXXXXXXX"<<endl;
cout<<"XXXXXXXXX"<<endl;
cout<<"XOXXXXXXX"<<endl;
cout<<"OOXXXXXXX"<<endl;
cout<<"OOXOXXXXX"<<endl;
cout<<"XOXOXXXXX"<<endl;
cout<<"XXXOXXXXX"<<endl;
cout<<"OXXOXXXXX"<<endl;
cout<<"OXOOXXXXX"<<endl;
cout<<"XXOOXXXXX"<<endl;
cout<<"XOOOXXXXX"<<endl;
cout<<"OOOOXXXXX"<<endl;
cout<<"OOOOXOXXX"<<endl;
cout<<"XOOOXOXXX"<<endl;
cout<<"XXOOXOXXX"<<endl;
cout<<"OXOOXOXXX"<<endl;
cout<<"OXXOXOXXX"<<endl;
cout<<"XXXOXOXXX"<<endl;
cout<<"XOXOXOXXX"<<endl;
cout<<"OOXOXOXXX"<<endl;
cout<<"OOXXXOXXX"<<endl;
cout<<"XOXXXOXXX"<<endl;
cout<<"XXXXXOXXX"<<endl;
cout<<"OXXXXOXXX"<<endl;
cout<<"OXOXXOXXX"<<endl;
cout<<"XXOXXOXXX"<<endl;
cout<<"XOOXXOXXX"<<endl;
cout<<"OOOXXOXXX"<<endl;
cout<<"OOOXOOXXX"<<endl;
cout<<"XOOXOOXXX"<<endl;
cout<<"XXOXOOXXX"<<endl;
cout<<"OXOXOOXXX"<<endl;
cout<<"OXXXOOXXX"<<endl;
cout<<"XXXXOOXXX"<<endl;
cout<<"XOXXOOXXX"<<endl;
cout<<"OOXXOOXXX"<<endl;
cout<<"OOXOOOXXX"<<endl;
cout<<"XOXOOOXXX"<<endl;
cout<<"XXXOOOXXX"<<endl;
cout<<"OXXOOOXXX"<<endl;
cout<<"OXOOOOXXX"<<endl;
cout<<"XXOOOOXXX"<<endl;
cout<<"XOOOOOXXX"<<endl;
cout<<"OOOOOOXXX"<<endl;
cout<<"OOOOOOXOX"<<endl;
cout<<"XOOOOOXOX"<<endl;
cout<<"XXOOOOXOX"<<endl;
cout<<"OXOOOOXOX"<<endl;
cout<<"OXXOOOXOX"<<endl;
cout<<"XXXOOOXOX"<<endl;
cout<<"XOXOOOXOX"<<endl;
cout<<"OOXOOOXOX"<<endl;
cout<<"OOXXOOXOX"<<endl;
cout<<"XOXXOOXOX"<<endl;
cout<<"XXXXOOXOX"<<endl;
cout<<"OXXXOOXOX"<<endl;
cout<<"OXOXOOXOX"<<endl;
cout<<"XXOXOOXOX"<<endl;
cout<<"XOOXOOXOX"<<endl;
cout<<"OOOXOOXOX"<<endl;
cout<<"OOOXXOXOX"<<endl;
cout<<"XOOXXOXOX"<<endl;
cout<<"XXOXXOXOX"<<endl;
cout<<"OXOXXOXOX"<<endl;
cout<<"OXXXXOXOX"<<endl;
cout<<"XXXXXOXOX"<<endl;
cout<<"XOXXXOXOX"<<endl;
cout<<"OOXXXOXOX"<<endl;
cout<<"OOXOXOXOX"<<endl;
cout<<"XOXOXOXOX"<<endl;
cout<<"XXXOXOXOX"<<endl;
cout<<"OXXOXOXOX"<<endl;
cout<<"OXOOXOXOX"<<endl;
cout<<"XXOOXOXOX"<<endl;
cout<<"XOOOXOXOX"<<endl;
cout<<"OOOOXOXOX"<<endl;
cout<<"OOOOXXXOX"<<endl;
cout<<"XOOOXXXOX"<<endl;
cout<<"XXOOXXXOX"<<endl;
cout<<"OXOOXXXOX"<<endl;
cout<<"OXXOXXXOX"<<endl;
cout<<"XXXOXXXOX"<<endl;
cout<<"XOXOXXXOX"<<endl;
cout<<"OOXOXXXOX"<<endl;
cout<<"OOXXXXXOX"<<endl;
cout<<"XOXXXXXOX"<<endl;
cout<<"XXXXXXXOX"<<endl;
cout<<"OXXXXXXOX"<<endl;
cout<<"OXOXXXXOX"<<endl;
cout<<"XXOXXXXOX"<<endl;
cout<<"XOOXXXXOX"<<endl;
cout<<"OOOXXXXOX"<<endl;
cout<<"OOOXOXXOX"<<endl;
cout<<"XOOXOXXOX"<<endl;
cout<<"XXOXOXXOX"<<endl;
cout<<"OXOXOXXOX"<<endl;
cout<<"OXXXOXXOX"<<endl;
cout<<"XXXXOXXOX"<<endl;
cout<<"XOXXOXXOX"<<endl;
cout<<"OOXXOXXOX"<<endl;
cout<<"OOXOOXXOX"<<endl;
cout<<"XOXOOXXOX"<<endl;
cout<<"XXXOOXXOX"<<endl;
cout<<"OXXOOXXOX"<<endl;
cout<<"OXOOOXXOX"<<endl;
cout<<"XXOOOXXOX"<<endl;
cout<<"XOOOOXXOX"<<endl;
cout<<"OOOOOXXOX"<<endl;
cout<<"OOOOOXOOX"<<endl;
cout<<"XOOOOXOOX"<<endl;
cout<<"XXOOOXOOX"<<endl;
cout<<"OXOOOXOOX"<<endl;
cout<<"OXXOOXOOX"<<endl;
cout<<"XXXOOXOOX"<<endl;
cout<<"XOXOOXOOX"<<endl;
cout<<"OOXOOXOOX"<<endl;
cout<<"OOXXOXOOX"<<endl;
cout<<"XOXXOXOOX"<<endl;
cout<<"XXXXOXOOX"<<endl;
cout<<"OXXXOXOOX"<<endl;
cout<<"OXOXOXOOX"<<endl;
cout<<"XXOXOXOOX"<<endl;
cout<<"XOOXOXOOX"<<endl;
cout<<"OOOXOXOOX"<<endl;
cout<<"OOOXXXOOX"<<endl;
cout<<"XOOXXXOOX"<<endl;
cout<<"XXOXXXOOX"<<endl;
cout<<"OXOXXXOOX"<<endl;
cout<<"OXXXXXOOX"<<endl;
cout<<"XXXXXXOOX"<<endl;
cout<<"XOXXXXOOX"<<endl;
cout<<"OOXXXXOOX"<<endl;
cout<<"OOXOXXOOX"<<endl;
cout<<"XOXOXXOOX"<<endl;
cout<<"XXXOXXOOX"<<endl;
cout<<"OXXOXXOOX"<<endl;
cout<<"OXOOXXOOX"<<endl;
cout<<"XXOOXXOOX"<<endl;
cout<<"XOOOXXOOX"<<endl;
cout<<"OOOOXXOOX"<<endl;
cout<<"OOOOXOOOX"<<endl;
cout<<"XOOOXOOOX"<<endl;
cout<<"XXOOXOOOX"<<endl;
cout<<"OXOOXOOOX"<<endl;
cout<<"OXXOXOOOX"<<endl;
cout<<"XXXOXOOOX"<<endl;
cout<<"XOXOXOOOX"<<endl;
cout<<"OOXOXOOOX"<<endl;
cout<<"OOXXXOOOX"<<endl;
cout<<"XOXXXOOOX"<<endl;
cout<<"XXXXXOOOX"<<endl;
cout<<"OXXXXOOOX"<<endl;
cout<<"OXOXXOOOX"<<endl;
cout<<"XXOXXOOOX"<<endl;
cout<<"XOOXXOOOX"<<endl;
cout<<"OOOXXOOOX"<<endl;
cout<<"OOOXOOOOX"<<endl;
cout<<"XOOXOOOOX"<<endl;
cout<<"XXOXOOOOX"<<endl;
cout<<"OXOXOOOOX"<<endl;
cout<<"OXXXOOOOX"<<endl;
cout<<"XXXXOOOOX"<<endl;
cout<<"XOXXOOOOX"<<endl;
cout<<"OOXXOOOOX"<<endl;
cout<<"OOXOOOOOX"<<endl;
cout<<"XOXOOOOOX"<<endl;
cout<<"XXXOOOOOX"<<endl;
cout<<"OXXOOOOOX"<<endl;
cout<<"OXOOOOOOX"<<endl;
cout<<"XXOOOOOOX"<<endl;
cout<<"XOOOOOOOX"<<endl;
cout<<"OOOOOOOOX"<<endl;
cout<<"OOOOOOOOO"<<endl;
}
if(n==10){
cout<<"OOOOOOOOOO"<<endl;
cout<<"XOOOOOOOOO"<<endl;
cout<<"XXOOOOOOOO"<<endl;
cout<<"OXOOOOOOOO"<<endl;
cout<<"OXXOOOOOOO"<<endl;
cout<<"XXXOOOOOOO"<<endl;
cout<<"XOXOOOOOOO"<<endl;
cout<<"OOXOOOOOOO"<<endl;
cout<<"OOXXOOOOOO"<<endl;
cout<<"XOXXOOOOOO"<<endl;
cout<<"XXXXOOOOOO"<<endl;
cout<<"OXXXOOOOOO"<<endl;
cout<<"OXOXOOOOOO"<<endl;
cout<<"XXOXOOOOOO"<<endl;
cout<<"XOOXOOOOOO"<<endl;
cout<<"OOOXOOOOOO"<<endl;
cout<<"OOOXXOOOOO"<<endl;
cout<<"XOOXXOOOOO"<<endl;
cout<<"XXOXXOOOOO"<<endl;
cout<<"OXOXXOOOOO"<<endl;
cout<<"OXXXXOOOOO"<<endl;
cout<<"XXXXXOOOOO"<<endl;
cout<<"XOXXXOOOOO"<<endl;
cout<<"OOXXXOOOOO"<<endl;
cout<<"OOXOXOOOOO"<<endl;
cout<<"XOXOXOOOOO"<<endl;
cout<<"XXXOXOOOOO"<<endl;
cout<<"OXXOXOOOOO"<<endl;
cout<<"OXOOXOOOOO"<<endl;
cout<<"XXOOXOOOOO"<<endl;
cout<<"XOOOXOOOOO"<<endl;
cout<<"OOOOXOOOOO"<<endl;
cout<<"OOOOXXOOOO"<<endl;
cout<<"XOOOXXOOOO"<<endl;
cout<<"XXOOXXOOOO"<<endl;
cout<<"OXOOXXOOOO"<<endl;
cout<<"OXXOXXOOOO"<<endl;
cout<<"XXXOXXOOOO"<<endl;
cout<<"XOXOXXOOOO"<<endl;
cout<<"OOXOXXOOOO"<<endl;
cout<<"OOXXXXOOOO"<<endl;
cout<<"XOXXXXOOOO"<<endl;
cout<<"XXXXXXOOOO"<<endl;
cout<<"OXXXXXOOOO"<<endl;
cout<<"OXOXXXOOOO"<<endl;
cout<<"XXOXXXOOOO"<<endl;
cout<<"XOOXXXOOOO"<<endl;
cout<<"OOOXXXOOOO"<<endl;
cout<<"OOOXOXOOOO"<<endl;
cout<<"XOOXOXOOOO"<<endl;
cout<<"XXOXOXOOOO"<<endl;
cout<<"OXOXOXOOOO"<<endl;
cout<<"OXXXOXOOOO"<<endl;
cout<<"XXXXOXOOOO"<<endl;
cout<<"XOXXOXOOOO"<<endl;
cout<<"OOXXOXOOOO"<<endl;
cout<<"OOXOOXOOOO"<<endl;
cout<<"XOXOOXOOOO"<<endl;
cout<<"XXXOOXOOOO"<<endl;
cout<<"OXXOOXOOOO"<<endl;
cout<<"OXOOOXOOOO"<<endl;
cout<<"XXOOOXOOOO"<<endl;
cout<<"XOOOOXOOOO"<<endl;
cout<<"OOOOOXOOOO"<<endl;
cout<<"OOOOOXXOOO"<<endl;
cout<<"XOOOOXXOOO"<<endl;
cout<<"XXOOOXXOOO"<<endl;
cout<<"OXOOOXXOOO"<<endl;
cout<<"OXXOOXXOOO"<<endl;
cout<<"XXXOOXXOOO"<<endl;
cout<<"XOXOOXXOOO"<<endl;
cout<<"OOXOOXXOOO"<<endl;
cout<<"OOXXOXXOOO"<<endl;
cout<<"XOXXOXXOOO"<<endl;
cout<<"XXXXOXXOOO"<<endl;
cout<<"OXXXOXXOOO"<<endl;
cout<<"OXOXOXXOOO"<<endl;
cout<<"XXOXOXXOOO"<<endl;
cout<<"XOOXOXXOOO"<<endl;
cout<<"OOOXOXXOOO"<<endl;
cout<<"OOOXXXXOOO"<<endl;
cout<<"XOOXXXXOOO"<<endl;
cout<<"XXOXXXXOOO"<<endl;
cout<<"OXOXXXXOOO"<<endl;
cout<<"OXXXXXXOOO"<<endl;
cout<<"XXXXXXXOOO"<<endl;
cout<<"XOXXXXXOOO"<<endl;
cout<<"OOXXXXXOOO"<<endl;
cout<<"OOXOXXXOOO"<<endl;
cout<<"XOXOXXXOOO"<<endl;
cout<<"XXXOXXXOOO"<<endl;
cout<<"OXXOXXXOOO"<<endl;
cout<<"OXOOXXXOOO"<<endl;
cout<<"XXOOXXXOOO"<<endl;
cout<<"XOOOXXXOOO"<<endl;
cout<<"OOOOXXXOOO"<<endl;
cout<<"OOOOXOXOOO"<<endl;
cout<<"XOOOXOXOOO"<<endl;
cout<<"XXOOXOXOOO"<<endl;
cout<<"OXOOXOXOOO"<<endl;
cout<<"OXXOXOXOOO"<<endl;
cout<<"XXXOXOXOOO"<<endl;
cout<<"XOXOXOXOOO"<<endl;
cout<<"OOXOXOXOOO"<<endl;
cout<<"OOXXXOXOOO"<<endl;
cout<<"XOXXXOXOOO"<<endl;
cout<<"XXXXXOXOOO"<<endl;
cout<<"OXXXXOXOOO"<<endl;
cout<<"OXOXXOXOOO"<<endl;
cout<<"XXOXXOXOOO"<<endl;
cout<<"XOOXXOXOOO"<<endl;
cout<<"OOOXXOXOOO"<<endl;
cout<<"OOOXOOXOOO"<<endl;
cout<<"XOOXOOXOOO"<<endl;
cout<<"XXOXOOXOOO"<<endl;
cout<<"OXOXOOXOOO"<<endl;
cout<<"OXXXOOXOOO"<<endl;
cout<<"XXXXOOXOOO"<<endl;
cout<<"XOXXOOXOOO"<<endl;
cout<<"OOXXOOXOOO"<<endl;
cout<<"OOXOOOXOOO"<<endl;
cout<<"XOXOOOXOOO"<<endl;
cout<<"XXXOOOXOOO"<<endl;
cout<<"OXXOOOXOOO"<<endl;
cout<<"OXOOOOXOOO"<<endl;
cout<<"XXOOOOXOOO"<<endl;
cout<<"XOOOOOXOOO"<<endl;
cout<<"OOOOOOXOOO"<<endl;
cout<<"OOOOOOXXOO"<<endl;
cout<<"XOOOOOXXOO"<<endl;
cout<<"XXOOOOXXOO"<<endl;
cout<<"OXOOOOXXOO"<<endl;
cout<<"OXXOOOXXOO"<<endl;
cout<<"XXXOOOXXOO"<<endl;
cout<<"XOXOOOXXOO"<<endl;
cout<<"OOXOOOXXOO"<<endl;
cout<<"OOXXOOXXOO"<<endl;
cout<<"XOXXOOXXOO"<<endl;
cout<<"XXXXOOXXOO"<<endl;
cout<<"OXXXOOXXOO"<<endl;
cout<<"OXOXOOXXOO"<<endl;
cout<<"XXOXOOXXOO"<<endl;
cout<<"XOOXOOXXOO"<<endl;
cout<<"OOOXOOXXOO"<<endl;
cout<<"OOOXXOXXOO"<<endl;
cout<<"XOOXXOXXOO"<<endl;
cout<<"XXOXXOXXOO"<<endl;
cout<<"OXOXXOXXOO"<<endl;
cout<<"OXXXXOXXOO"<<endl;
cout<<"XXXXXOXXOO"<<endl;
cout<<"XOXXXOXXOO"<<endl;
cout<<"OOXXXOXXOO"<<endl;
cout<<"OOXOXOXXOO"<<endl;
cout<<"XOXOXOXXOO"<<endl;
cout<<"XXXOXOXXOO"<<endl;
cout<<"OXXOXOXXOO"<<endl;
cout<<"OXOOXOXXOO"<<endl;
cout<<"XXOOXOXXOO"<<endl;
cout<<"XOOOXOXXOO"<<endl;
cout<<"OOOOXOXXOO"<<endl;
cout<<"OOOOXXXXOO"<<endl;
cout<<"XOOOXXXXOO"<<endl;
cout<<"XXOOXXXXOO"<<endl;
cout<<"OXOOXXXXOO"<<endl;
cout<<"OXXOXXXXOO"<<endl;
cout<<"XXXOXXXXOO"<<endl;
cout<<"XOXOXXXXOO"<<endl;
cout<<"OOXOXXXXOO"<<endl;
cout<<"OOXXXXXXOO"<<endl;
cout<<"XOXXXXXXOO"<<endl;
cout<<"XXXXXXXXOO"<<endl;
cout<<"OXXXXXXXOO"<<endl;
cout<<"OXOXXXXXOO"<<endl;
cout<<"XXOXXXXXOO"<<endl;
cout<<"XOOXXXXXOO"<<endl;
cout<<"OOOXXXXXOO"<<endl;
cout<<"OOOXOXXXOO"<<endl;
cout<<"XOOXOXXXOO"<<endl;
cout<<"XXOXOXXXOO"<<endl;
cout<<"OXOXOXXXOO"<<endl;
cout<<"OXXXOXXXOO"<<endl;
cout<<"XXXXOXXXOO"<<endl;
cout<<"XOXXOXXXOO"<<endl;
cout<<"OOXXOXXXOO"<<endl;
cout<<"OOXOOXXXOO"<<endl;
cout<<"XOXOOXXXOO"<<endl;
cout<<"XXXOOXXXOO"<<endl;
cout<<"OXXOOXXXOO"<<endl;
cout<<"OXOOOXXXOO"<<endl;
cout<<"XXOOOXXXOO"<<endl;
cout<<"XOOOOXXXOO"<<endl;
cout<<"OOOOOXXXOO"<<endl;
cout<<"OOOOOXOXOO"<<endl;
cout<<"XOOOOXOXOO"<<endl;
cout<<"XXOOOXOXOO"<<endl;
cout<<"OXOOOXOXOO"<<endl;
cout<<"OXXOOXOXOO"<<endl;
cout<<"XXXOOXOXOO"<<endl;
cout<<"XOXOOXOXOO"<<endl;
cout<<"OOXOOXOXOO"<<endl;
cout<<"OOXXOXOXOO"<<endl;
cout<<"XOXXOXOXOO"<<endl;
cout<<"XXXXOXOXOO"<<endl;
cout<<"OXXXOXOXOO"<<endl;
cout<<"OXOXOXOXOO"<<endl;
cout<<"XXOXOXOXOO"<<endl;
cout<<"XOOXOXOXOO"<<endl;
cout<<"OOOXOXOXOO"<<endl;
cout<<"OOOXXXOXOO"<<endl;
cout<<"XOOXXXOXOO"<<endl;
cout<<"XXOXXXOXOO"<<endl;
cout<<"OXOXXXOXOO"<<endl;
cout<<"OXXXXXOXOO"<<endl;
cout<<"XXXXXXOXOO"<<endl;
cout<<"XOXXXXOXOO"<<endl;
cout<<"OOXXXXOXOO"<<endl;
cout<<"OOXOXXOXOO"<<endl;
cout<<"XOXOXXOXOO"<<endl;
cout<<"XXXOXXOXOO"<<endl;
cout<<"OXXOXXOXOO"<<endl;
cout<<"OXOOXXOXOO"<<endl;
cout<<"XXOOXXOXOO"<<endl;
cout<<"XOOOXXOXOO"<<endl;
cout<<"OOOOXXOXOO"<<endl;
cout<<"OOOOXOOXOO"<<endl;
cout<<"XOOOXOOXOO"<<endl;
cout<<"XXOOXOOXOO"<<endl;
cout<<"OXOOXOOXOO"<<endl;
cout<<"OXXOXOOXOO"<<endl;
cout<<"XXXOXOOXOO"<<endl;
cout<<"XOXOXOOXOO"<<endl;
cout<<"OOXOXOOXOO"<<endl;
cout<<"OOXXXOOXOO"<<endl;
cout<<"XOXXXOOXOO"<<endl;
cout<<"XXXXXOOXOO"<<endl;
cout<<"OXXXXOOXOO"<<endl;
cout<<"OXOXXOOXOO"<<endl;
cout<<"XXOXXOOXOO"<<endl;
cout<<"XOOXXOOXOO"<<endl;
cout<<"OOOXXOOXOO"<<endl;
cout<<"OOOXOOOXOO"<<endl;
cout<<"XOOXOOOXOO"<<endl;
cout<<"XXOXOOOXOO"<<endl;
cout<<"OXOXOOOXOO"<<endl;
cout<<"OXXXOOOXOO"<<endl;
cout<<"XXXXOOOXOO"<<endl;
cout<<"XOXXOOOXOO"<<endl;
cout<<"OOXXOOOXOO"<<endl;
cout<<"OOXOOOOXOO"<<endl;
cout<<"XOXOOOOXOO"<<endl;
cout<<"XXXOOOOXOO"<<endl;
cout<<"OXXOOOOXOO"<<endl;
cout<<"OXOOOOOXOO"<<endl;
cout<<"XXOOOOOXOO"<<endl;
cout<<"XOOOOOOXOO"<<endl;
cout<<"OOOOOOOXOO"<<endl;
cout<<"OOOOOOOXXO"<<endl;
cout<<"XOOOOOOXXO"<<endl;
cout<<"XXOOOOOXXO"<<endl;
cout<<"OXOOOOOXXO"<<endl;
cout<<"OXXOOOOXXO"<<endl;
cout<<"XXXOOOOXXO"<<endl;
cout<<"XOXOOOOXXO"<<endl;
cout<<"OOXOOOOXXO"<<endl;
cout<<"OOXXOOOXXO"<<endl;
cout<<"XOXXOOOXXO"<<endl;
cout<<"XXXXOOOXXO"<<endl;
cout<<"OXXXOOOXXO"<<endl;
cout<<"OXOXOOOXXO"<<endl;
cout<<"XXOXOOOXXO"<<endl;
cout<<"XOOXOOOXXO"<<endl;
cout<<"OOOXOOOXXO"<<endl;
cout<<"OOOXXOOXXO"<<endl;
cout<<"XOOXXOOXXO"<<endl;
cout<<"XXOXXOOXXO"<<endl;
cout<<"OXOXXOOXXO"<<endl;
cout<<"OXXXXOOXXO"<<endl;
cout<<"XXXXXOOXXO"<<endl;
cout<<"XOXXXOOXXO"<<endl;
cout<<"OOXXXOOXXO"<<endl;
cout<<"OOXOXOOXXO"<<endl;
cout<<"XOXOXOOXXO"<<endl;
cout<<"XXXOXOOXXO"<<endl;
cout<<"OXXOXOOXXO"<<endl;
cout<<"OXOOXOOXXO"<<endl;
cout<<"XXOOXOOXXO"<<endl;
cout<<"XOOOXOOXXO"<<endl;
cout<<"OOOOXOOXXO"<<endl;
cout<<"OOOOXXOXXO"<<endl;
cout<<"XOOOXXOXXO"<<endl;
cout<<"XXOOXXOXXO"<<endl;
cout<<"OXOOXXOXXO"<<endl;
cout<<"OXXOXXOXXO"<<endl;
cout<<"XXXOXXOXXO"<<endl;
cout<<"XOXOXXOXXO"<<endl;
cout<<"OOXOXXOXXO"<<endl;
cout<<"OOXXXXOXXO"<<endl;
cout<<"XOXXXXOXXO"<<endl;
cout<<"XXXXXXOXXO"<<endl;
cout<<"OXXXXXOXXO"<<endl;
cout<<"OXOXXXOXXO"<<endl;
cout<<"XXOXXXOXXO"<<endl;
cout<<"XOOXXXOXXO"<<endl;
cout<<"OOOXXXOXXO"<<endl;
cout<<"OOOXOXOXXO"<<endl;
cout<<"XOOXOXOXXO"<<endl;
cout<<"XXOXOXOXXO"<<endl;
cout<<"OXOXOXOXXO"<<endl;
cout<<"OXXXOXOXXO"<<endl;
cout<<"XXXXOXOXXO"<<endl;
cout<<"XOXXOXOXXO"<<endl;
cout<<"OOXXOXOXXO"<<endl;
cout<<"OOXOOXOXXO"<<endl;
cout<<"XOXOOXOXXO"<<endl;
cout<<"XXXOOXOXXO"<<endl;
cout<<"OXXOOXOXXO"<<endl;
cout<<"OXOOOXOXXO"<<endl;
cout<<"XXOOOXOXXO"<<endl;
cout<<"XOOOOXOXXO"<<endl;
cout<<"OOOOOXOXXO"<<endl;
cout<<"OOOOOXXXXO"<<endl;
cout<<"XOOOOXXXXO"<<endl;
cout<<"XXOOOXXXXO"<<endl;
cout<<"OXOOOXXXXO"<<endl;
cout<<"OXXOOXXXXO"<<endl;
cout<<"XXXOOXXXXO"<<endl;
cout<<"XOXOOXXXXO"<<endl;
cout<<"OOXOOXXXXO"<<endl;
cout<<"OOXXOXXXXO"<<endl;
cout<<"XOXXOXXXXO"<<endl;
cout<<"XXXXOXXXXO"<<endl;
cout<<"OXXXOXXXXO"<<endl;
cout<<"OXOXOXXXXO"<<endl;
cout<<"XXOXOXXXXO"<<endl;
cout<<"XOOXOXXXXO"<<endl;
cout<<"OOOXOXXXXO"<<endl;
cout<<"OOOXXXXXXO"<<endl;
cout<<"XOOXXXXXXO"<<endl;
cout<<"XXOXXXXXXO"<<endl;
cout<<"OXOXXXXXXO"<<endl;
cout<<"OXXXXXXXXO"<<endl;
cout<<"XXXXXXXXXO"<<endl;
cout<<"XOXXXXXXXO"<<endl;
cout<<"OOXXXXXXXO"<<endl;
cout<<"OOXOXXXXXO"<<endl;
cout<<"XOXOXXXXXO"<<endl;
cout<<"XXXOXXXXXO"<<endl;
cout<<"OXXOXXXXXO"<<endl;
cout<<"OXOOXXXXXO"<<endl;
cout<<"XXOOXXXXXO"<<endl;
cout<<"XOOOXXXXXO"<<endl;
cout<<"OOOOXXXXXO"<<endl;
cout<<"OOOOXOXXXO"<<endl;
cout<<"XOOOXOXXXO"<<endl;
cout<<"XXOOXOXXXO"<<endl;
cout<<"OXOOXOXXXO"<<endl;
cout<<"OXXOXOXXXO"<<endl;
cout<<"XXXOXOXXXO"<<endl;
cout<<"XOXOXOXXXO"<<endl;
cout<<"OOXOXOXXXO"<<endl;
cout<<"OOXXXOXXXO"<<endl;
cout<<"XOXXXOXXXO"<<endl;
cout<<"XXXXXOXXXO"<<endl;
cout<<"OXXXXOXXXO"<<endl;
cout<<"OXOXXOXXXO"<<endl;
cout<<"XXOXXOXXXO"<<endl;
cout<<"XOOXXOXXXO"<<endl;
cout<<"OOOXXOXXXO"<<endl;
cout<<"OOOXOOXXXO"<<endl;
cout<<"XOOXOOXXXO"<<endl;
cout<<"XXOXOOXXXO"<<endl;
cout<<"OXOXOOXXXO"<<endl;
cout<<"OXXXOOXXXO"<<endl;
cout<<"XXXXOOXXXO"<<endl;
cout<<"XOXXOOXXXO"<<endl;
cout<<"OOXXOOXXXO"<<endl;
cout<<"OOXOOOXXXO"<<endl;
cout<<"XOXOOOXXXO"<<endl;
cout<<"XXXOOOXXXO"<<endl;
cout<<"OXXOOOXXXO"<<endl;
cout<<"OXOOOOXXXO"<<endl;
cout<<"XXOOOOXXXO"<<endl;
cout<<"XOOOOOXXXO"<<endl;
cout<<"OOOOOOXXXO"<<endl;
cout<<"OOOOOOXOXO"<<endl;
cout<<"XOOOOOXOXO"<<endl;
cout<<"XXOOOOXOXO"<<endl;
cout<<"OXOOOOXOXO"<<endl;
cout<<"OXXOOOXOXO"<<endl;
cout<<"XXXOOOXOXO"<<endl;
cout<<"XOXOOOXOXO"<<endl;
cout<<"OOXOOOXOXO"<<endl;
cout<<"OOXXOOXOXO"<<endl;
cout<<"XOXXOOXOXO"<<endl;
cout<<"XXXXOOXOXO"<<endl;
cout<<"OXXXOOXOXO"<<endl;
cout<<"OXOXOOXOXO"<<endl;
cout<<"XXOXOOXOXO"<<endl;
cout<<"XOOXOOXOXO"<<endl;
cout<<"OOOXOOXOXO"<<endl;
cout<<"OOOXXOXOXO"<<endl;
cout<<"XOOXXOXOXO"<<endl;
cout<<"XXOXXOXOXO"<<endl;
cout<<"OXOXXOXOXO"<<endl;
cout<<"OXXXXOXOXO"<<endl;
cout<<"XXXXXOXOXO"<<endl;
cout<<"XOXXXOXOXO"<<endl;
cout<<"OOXXXOXOXO"<<endl;
cout<<"OOXOXOXOXO"<<endl;
cout<<"XOXOXOXOXO"<<endl;
cout<<"XXXOXOXOXO"<<endl;
cout<<"OXXOXOXOXO"<<endl;
cout<<"OXOOXOXOXO"<<endl;
cout<<"XXOOXOXOXO"<<endl;
cout<<"XOOOXOXOXO"<<endl;
cout<<"OOOOXOXOXO"<<endl;
cout<<"OOOOXXXOXO"<<endl;
cout<<"XOOOXXXOXO"<<endl;
cout<<"XXOOXXXOXO"<<endl;
cout<<"OXOOXXXOXO"<<endl;
cout<<"OXXOXXXOXO"<<endl;
cout<<"XXXOXXXOXO"<<endl;
cout<<"XOXOXXXOXO"<<endl;
cout<<"OOXOXXXOXO"<<endl;
cout<<"OOXXXXXOXO"<<endl;
cout<<"XOXXXXXOXO"<<endl;
cout<<"XXXXXXXOXO"<<endl;
cout<<"OXXXXXXOXO"<<endl;
cout<<"OXOXXXXOXO"<<endl;
cout<<"XXOXXXXOXO"<<endl;
cout<<"XOOXXXXOXO"<<endl;
cout<<"OOOXXXXOXO"<<endl;
cout<<"OOOXOXXOXO"<<endl;
cout<<"XOOXOXXOXO"<<endl;
cout<<"XXOXOXXOXO"<<endl;
cout<<"OXOXOXXOXO"<<endl;
cout<<"OXXXOXXOXO"<<endl;
cout<<"XXXXOXXOXO"<<endl;
cout<<"XOXXOXXOXO"<<endl;
cout<<"OOXXOXXOXO"<<endl;
cout<<"OOXOOXXOXO"<<endl;
cout<<"XOXOOXXOXO"<<endl;
cout<<"XXXOOXXOXO"<<endl;
cout<<"OXXOOXXOXO"<<endl;
cout<<"OXOOOXXOXO"<<endl;
cout<<"XXOOOXXOXO"<<endl;
cout<<"XOOOOXXOXO"<<endl;
cout<<"OOOOOXXOXO"<<endl;
cout<<"OOOOOXOOXO"<<endl;
cout<<"XOOOOXOOXO"<<endl;
cout<<"XXOOOXOOXO"<<endl;
cout<<"OXOOOXOOXO"<<endl;
cout<<"OXXOOXOOXO"<<endl;
cout<<"XXXOOXOOXO"<<endl;
cout<<"XOXOOXOOXO"<<endl;
cout<<"OOXOOXOOXO"<<endl;
cout<<"OOXXOXOOXO"<<endl;
cout<<"XOXXOXOOXO"<<endl;
cout<<"XXXXOXOOXO"<<endl;
cout<<"OXXXOXOOXO"<<endl;
cout<<"OXOXOXOOXO"<<endl;
cout<<"XXOXOXOOXO"<<endl;
cout<<"XOOXOXOOXO"<<endl;
cout<<"OOOXOXOOXO"<<endl;
cout<<"OOOXXXOOXO"<<endl;
cout<<"XOOXXXOOXO"<<endl;
cout<<"XXOXXXOOXO"<<endl;
cout<<"OXOXXXOOXO"<<endl;
cout<<"OXXXXXOOXO"<<endl;
cout<<"XXXXXXOOXO"<<endl;
cout<<"XOXXXXOOXO"<<endl;
cout<<"OOXXXXOOXO"<<endl;
cout<<"OOXOXXOOXO"<<endl;
cout<<"XOXOXXOOXO"<<endl;
cout<<"XXXOXXOOXO"<<endl;
cout<<"OXXOXXOOXO"<<endl;
cout<<"OXOOXXOOXO"<<endl;
cout<<"XXOOXXOOXO"<<endl;
cout<<"XOOOXXOOXO"<<endl;
cout<<"OOOOXXOOXO"<<endl;
cout<<"OOOOXOOOXO"<<endl;
cout<<"XOOOXOOOXO"<<endl;
cout<<"XXOOXOOOXO"<<endl;
cout<<"OXOOXOOOXO"<<endl;
cout<<"OXXOXOOOXO"<<endl;
cout<<"XXXOXOOOXO"<<endl;
cout<<"XOXOXOOOXO"<<endl;
cout<<"OOXOXOOOXO"<<endl;
cout<<"OOXXXOOOXO"<<endl;
cout<<"XOXXXOOOXO"<<endl;
cout<<"XXXXXOOOXO"<<endl;
cout<<"OXXXXOOOXO"<<endl;
cout<<"OXOXXOOOXO"<<endl;
cout<<"XXOXXOOOXO"<<endl;
cout<<"XOOXXOOOXO"<<endl;
cout<<"OOOXXOOOXO"<<endl;
cout<<"OOOXOOOOXO"<<endl;
cout<<"XOOXOOOOXO"<<endl;
cout<<"XXOXOOOOXO"<<endl;
cout<<"OXOXOOOOXO"<<endl;
cout<<"OXXXOOOOXO"<<endl;
cout<<"XXXXOOOOXO"<<endl;
cout<<"XOXXOOOOXO"<<endl;
cout<<"OOXXOOOOXO"<<endl;
cout<<"OOXOOOOOXO"<<endl;
cout<<"XOXOOOOOXO"<<endl;
cout<<"XXXOOOOOXO"<<endl;
cout<<"OXXOOOOOXO"<<endl;
cout<<"OXOOOOOOXO"<<endl;
cout<<"XXOOOOOOXO"<<endl;
cout<<"XOOOOOOOXO"<<endl;
cout<<"OOOOOOOOXO"<<endl;
cout<<"OOOOOOOOXX"<<endl;
cout<<"XOOOOOOOXX"<<endl;
cout<<"XXOOOOOOXX"<<endl;
cout<<"OXOOOOOOXX"<<endl;
cout<<"OXXOOOOOXX"<<endl;
cout<<"XXXOOOOOXX"<<endl;
cout<<"XOXOOOOOXX"<<endl;
cout<<"OOXOOOOOXX"<<endl;
cout<<"OOXXOOOOXX"<<endl;
cout<<"XOXXOOOOXX"<<endl;
cout<<"XXXXOOOOXX"<<endl;
cout<<"OXXXOOOOXX"<<endl;
cout<<"OXOXOOOOXX"<<endl;
cout<<"XXOXOOOOXX"<<endl;
cout<<"XOOXOOOOXX"<<endl;
cout<<"OOOXOOOOXX"<<endl;
cout<<"OOOXXOOOXX"<<endl;
cout<<"XOOXXOOOXX"<<endl;
cout<<"XXOXXOOOXX"<<endl;
cout<<"OXOXXOOOXX"<<endl;
cout<<"OXXXXOOOXX"<<endl;
cout<<"XXXXXOOOXX"<<endl;
cout<<"XOXXXOOOXX"<<endl;
cout<<"OOXXXOOOXX"<<endl;
cout<<"OOXOXOOOXX"<<endl;
cout<<"XOXOXOOOXX"<<endl;
cout<<"XXXOXOOOXX"<<endl;
cout<<"OXXOXOOOXX"<<endl;
cout<<"OXOOXOOOXX"<<endl;
cout<<"XXOOXOOOXX"<<endl;
cout<<"XOOOXOOOXX"<<endl;
cout<<"OOOOXOOOXX"<<endl;
cout<<"OOOOXXOOXX"<<endl;
cout<<"XOOOXXOOXX"<<endl;
cout<<"XXOOXXOOXX"<<endl;
cout<<"OXOOXXOOXX"<<endl;
cout<<"OXXOXXOOXX"<<endl;
cout<<"XXXOXXOOXX"<<endl;
cout<<"XOXOXXOOXX"<<endl;
cout<<"OOXOXXOOXX"<<endl;
cout<<"OOXXXXOOXX"<<endl;
cout<<"XOXXXXOOXX"<<endl;
cout<<"XXXXXXOOXX"<<endl;
cout<<"OXXXXXOOXX"<<endl;
cout<<"OXOXXXOOXX"<<endl;
cout<<"XXOXXXOOXX"<<endl;
cout<<"XOOXXXOOXX"<<endl;
cout<<"OOOXXXOOXX"<<endl;
cout<<"OOOXOXOOXX"<<endl;
cout<<"XOOXOXOOXX"<<endl;
cout<<"XXOXOXOOXX"<<endl;
cout<<"OXOXOXOOXX"<<endl;
cout<<"OXXXOXOOXX"<<endl;
cout<<"XXXXOXOOXX"<<endl;
cout<<"XOXXOXOOXX"<<endl;
cout<<"OOXXOXOOXX"<<endl;
cout<<"OOXOOXOOXX"<<endl;
cout<<"XOXOOXOOXX"<<endl;
cout<<"XXXOOXOOXX"<<endl;
cout<<"OXXOOXOOXX"<<endl;
cout<<"OXOOOXOOXX"<<endl;
cout<<"XXOOOXOOXX"<<endl;
cout<<"XOOOOXOOXX"<<endl;
cout<<"OOOOOXOOXX"<<endl;
cout<<"OOOOOXXOXX"<<endl;
cout<<"XOOOOXXOXX"<<endl;
cout<<"XXOOOXXOXX"<<endl;
cout<<"OXOOOXXOXX"<<endl;
cout<<"OXXOOXXOXX"<<endl;
cout<<"XXXOOXXOXX"<<endl;
cout<<"XOXOOXXOXX"<<endl;
cout<<"OOXOOXXOXX"<<endl;
cout<<"OOXXOXXOXX"<<endl;
cout<<"XOXXOXXOXX"<<endl;
cout<<"XXXXOXXOXX"<<endl;
cout<<"OXXXOXXOXX"<<endl;
cout<<"OXOXOXXOXX"<<endl;
cout<<"XXOXOXXOXX"<<endl;
cout<<"XOOXOXXOXX"<<endl;
cout<<"OOOXOXXOXX"<<endl;
cout<<"OOOXXXXOXX"<<endl;
cout<<"XOOXXXXOXX"<<endl;
cout<<"XXOXXXXOXX"<<endl;
cout<<"OXOXXXXOXX"<<endl;
cout<<"OXXXXXXOXX"<<endl;
cout<<"XXXXXXXOXX"<<endl;
cout<<"XOXXXXXOXX"<<endl;
cout<<"OOXXXXXOXX"<<endl;
cout<<"OOXOXXXOXX"<<endl;
cout<<"XOXOXXXOXX"<<endl;
cout<<"XXXOXXXOXX"<<endl;
cout<<"OXXOXXXOXX"<<endl;
cout<<"OXOOXXXOXX"<<endl;
cout<<"XXOOXXXOXX"<<endl;
cout<<"XOOOXXXOXX"<<endl;
cout<<"OOOOXXXOXX"<<endl;
cout<<"OOOOXOXOXX"<<endl;
cout<<"XOOOXOXOXX"<<endl;
cout<<"XXOOXOXOXX"<<endl;
cout<<"OXOOXOXOXX"<<endl;
cout<<"OXXOXOXOXX"<<endl;
cout<<"XXXOXOXOXX"<<endl;
cout<<"XOXOXOXOXX"<<endl;
cout<<"OOXOXOXOXX"<<endl;
cout<<"OOXXXOXOXX"<<endl;
cout<<"XOXXXOXOXX"<<endl;
cout<<"XXXXXOXOXX"<<endl;
cout<<"OXXXXOXOXX"<<endl;
cout<<"OXOXXOXOXX"<<endl;
cout<<"XXOXXOXOXX"<<endl;
cout<<"XOOXXOXOXX"<<endl;
cout<<"OOOXXOXOXX"<<endl;
cout<<"OOOXOOXOXX"<<endl;
cout<<"XOOXOOXOXX"<<endl;
cout<<"XXOXOOXOXX"<<endl;
cout<<"OXOXOOXOXX"<<endl;
cout<<"OXXXOOXOXX"<<endl;
cout<<"XXXXOOXOXX"<<endl;
cout<<"XOXXOOXOXX"<<endl;
cout<<"OOXXOOXOXX"<<endl;
cout<<"OOXOOOXOXX"<<endl;
cout<<"XOXOOOXOXX"<<endl;
cout<<"XXXOOOXOXX"<<endl;
cout<<"OXXOOOXOXX"<<endl;
cout<<"OXOOOOXOXX"<<endl;
cout<<"XXOOOOXOXX"<<endl;
cout<<"XOOOOOXOXX"<<endl;
cout<<"OOOOOOXOXX"<<endl;
cout<<"OOOOOOXXXX"<<endl;
cout<<"XOOOOOXXXX"<<endl;
cout<<"XXOOOOXXXX"<<endl;
cout<<"OXOOOOXXXX"<<endl;
cout<<"OXXOOOXXXX"<<endl;
cout<<"XXXOOOXXXX"<<endl;
cout<<"XOXOOOXXXX"<<endl;
cout<<"OOXOOOXXXX"<<endl;
cout<<"OOXXOOXXXX"<<endl;
cout<<"XOXXOOXXXX"<<endl;
cout<<"XXXXOOXXXX"<<endl;
cout<<"OXXXOOXXXX"<<endl;
cout<<"OXOXOOXXXX"<<endl;
cout<<"XXOXOOXXXX"<<endl;
cout<<"XOOXOOXXXX"<<endl;
cout<<"OOOXOOXXXX"<<endl;
cout<<"OOOXXOXXXX"<<endl;
cout<<"XOOXXOXXXX"<<endl;
cout<<"XXOXXOXXXX"<<endl;
cout<<"OXOXXOXXXX"<<endl;
cout<<"OXXXXOXXXX"<<endl;
cout<<"XXXXXOXXXX"<<endl;
cout<<"XOXXXOXXXX"<<endl;
cout<<"OOXXXOXXXX"<<endl;
cout<<"OOXOXOXXXX"<<endl;
cout<<"XOXOXOXXXX"<<endl;
cout<<"XXXOXOXXXX"<<endl;
cout<<"OXXOXOXXXX"<<endl;
cout<<"OXOOXOXXXX"<<endl;
cout<<"XXOOXOXXXX"<<endl;
cout<<"XOOOXOXXXX"<<endl;
cout<<"OOOOXOXXXX"<<endl;
cout<<"OOOOXXXXXX"<<endl;
cout<<"XOOOXXXXXX"<<endl;
cout<<"XXOOXXXXXX"<<endl;
cout<<"OXOOXXXXXX"<<endl;
cout<<"OXXOXXXXXX"<<endl;
cout<<"XXXOXXXXXX"<<endl;
cout<<"XOXOXXXXXX"<<endl;
cout<<"OOXOXXXXXX"<<endl;
cout<<"OOXXXXXXXX"<<endl;
cout<<"XOXXXXXXXX"<<endl;
cout<<"XXXXXXXXXX"<<endl;
cout<<"OXXXXXXXXX"<<endl;
cout<<"OXOXXXXXXX"<<endl;
cout<<"XXOXXXXXXX"<<endl;
cout<<"XOOXXXXXXX"<<endl;
cout<<"OOOXXXXXXX"<<endl;
cout<<"OOOXOXXXXX"<<endl;
cout<<"XOOXOXXXXX"<<endl;
cout<<"XXOXOXXXXX"<<endl;
cout<<"OXOXOXXXXX"<<endl;
cout<<"OXXXOXXXXX"<<endl;
cout<<"XXXXOXXXXX"<<endl;
cout<<"XOXXOXXXXX"<<endl;
cout<<"OOXXOXXXXX"<<endl;
cout<<"OOXOOXXXXX"<<endl;
cout<<"XOXOOXXXXX"<<endl;
cout<<"XXXOOXXXXX"<<endl;
cout<<"OXXOOXXXXX"<<endl;
cout<<"OXOOOXXXXX"<<endl;
cout<<"XXOOOXXXXX"<<endl;
cout<<"XOOOOXXXXX"<<endl;
cout<<"OOOOOXXXXX"<<endl;
cout<<"OOOOOXOXXX"<<endl;
cout<<"XOOOOXOXXX"<<endl;
cout<<"XXOOOXOXXX"<<endl;
cout<<"OXOOOXOXXX"<<endl;
cout<<"OXXOOXOXXX"<<endl;
cout<<"XXXOOXOXXX"<<endl;
cout<<"XOXOOXOXXX"<<endl;
cout<<"OOXOOXOXXX"<<endl;
cout<<"OOXXOXOXXX"<<endl;
cout<<"XOXXOXOXXX"<<endl;
cout<<"XXXXOXOXXX"<<endl;
cout<<"OXXXOXOXXX"<<endl;
cout<<"OXOXOXOXXX"<<endl;
cout<<"XXOXOXOXXX"<<endl;
cout<<"XOOXOXOXXX"<<endl;
cout<<"OOOXOXOXXX"<<endl;
cout<<"OOOXXXOXXX"<<endl;
cout<<"XOOXXXOXXX"<<endl;
cout<<"XXOXXXOXXX"<<endl;
cout<<"OXOXXXOXXX"<<endl;
cout<<"OXXXXXOXXX"<<endl;
cout<<"XXXXXXOXXX"<<endl;
cout<<"XOXXXXOXXX"<<endl;
cout<<"OOXXXXOXXX"<<endl;
cout<<"OOXOXXOXXX"<<endl;
cout<<"XOXOXXOXXX"<<endl;
cout<<"XXXOXXOXXX"<<endl;
cout<<"OXXOXXOXXX"<<endl;
cout<<"OXOOXXOXXX"<<endl;
cout<<"XXOOXXOXXX"<<endl;
cout<<"XOOOXXOXXX"<<endl;
cout<<"OOOOXXOXXX"<<endl;
cout<<"OOOOXOOXXX"<<endl;
cout<<"XOOOXOOXXX"<<endl;
cout<<"XXOOXOOXXX"<<endl;
cout<<"OXOOXOOXXX"<<endl;
cout<<"OXXOXOOXXX"<<endl;
cout<<"XXXOXOOXXX"<<endl;
cout<<"XOXOXOOXXX"<<endl;
cout<<"OOXOXOOXXX"<<endl;
cout<<"OOXXXOOXXX"<<endl;
cout<<"XOXXXOOXXX"<<endl;
cout<<"XXXXXOOXXX"<<endl;
cout<<"OXXXXOOXXX"<<endl;
cout<<"OXOXXOOXXX"<<endl;
cout<<"XXOXXOOXXX"<<endl;
cout<<"XOOXXOOXXX"<<endl;
cout<<"OOOXXOOXXX"<<endl;
cout<<"OOOXOOOXXX"<<endl;
cout<<"XOOXOOOXXX"<<endl;
cout<<"XXOXOOOXXX"<<endl;
cout<<"OXOXOOOXXX"<<endl;
cout<<"OXXXOOOXXX"<<endl;
cout<<"XXXXOOOXXX"<<endl;
cout<<"XOXXOOOXXX"<<endl;
cout<<"OOXXOOOXXX"<<endl;
cout<<"OOXOOOOXXX"<<endl;
cout<<"XOXOOOOXXX"<<endl;
cout<<"XXXOOOOXXX"<<endl;
cout<<"OXXOOOOXXX"<<endl;
cout<<"OXOOOOOXXX"<<endl;
cout<<"XXOOOOOXXX"<<endl;
cout<<"XOOOOOOXXX"<<endl;
cout<<"OOOOOOOXXX"<<endl;
cout<<"OOOOOOOXOX"<<endl;
cout<<"XOOOOOOXOX"<<endl;
cout<<"XXOOOOOXOX"<<endl;
cout<<"OXOOOOOXOX"<<endl;
cout<<"OXXOOOOXOX"<<endl;
cout<<"XXXOOOOXOX"<<endl;
cout<<"XOXOOOOXOX"<<endl;
cout<<"OOXOOOOXOX"<<endl;
cout<<"OOXXOOOXOX"<<endl;
cout<<"XOXXOOOXOX"<<endl;
cout<<"XXXXOOOXOX"<<endl;
cout<<"OXXXOOOXOX"<<endl;
cout<<"OXOXOOOXOX"<<endl;
cout<<"XXOXOOOXOX"<<endl;
cout<<"XOOXOOOXOX"<<endl;
cout<<"OOOXOOOXOX"<<endl;
cout<<"OOOXXOOXOX"<<endl;
cout<<"XOOXXOOXOX"<<endl;
cout<<"XXOXXOOXOX"<<endl;
cout<<"OXOXXOOXOX"<<endl;
cout<<"OXXXXOOXOX"<<endl;
cout<<"XXXXXOOXOX"<<endl;
cout<<"XOXXXOOXOX"<<endl;
cout<<"OOXXXOOXOX"<<endl;
cout<<"OOXOXOOXOX"<<endl;
cout<<"XOXOXOOXOX"<<endl;
cout<<"XXXOXOOXOX"<<endl;
cout<<"OXXOXOOXOX"<<endl;
cout<<"OXOOXOOXOX"<<endl;
cout<<"XXOOXOOXOX"<<endl;
cout<<"XOOOXOOXOX"<<endl;
cout<<"OOOOXOOXOX"<<endl;
cout<<"OOOOXXOXOX"<<endl;
cout<<"XOOOXXOXOX"<<endl;
cout<<"XXOOXXOXOX"<<endl;
cout<<"OXOOXXOXOX"<<endl;
cout<<"OXXOXXOXOX"<<endl;
cout<<"XXXOXXOXOX"<<endl;
cout<<"XOXOXXOXOX"<<endl;
cout<<"OOXOXXOXOX"<<endl;
cout<<"OOXXXXOXOX"<<endl;
cout<<"XOXXXXOXOX"<<endl;
cout<<"XXXXXXOXOX"<<endl;
cout<<"OXXXXXOXOX"<<endl;
cout<<"OXOXXXOXOX"<<endl;
cout<<"XXOXXXOXOX"<<endl;
cout<<"XOOXXXOXOX"<<endl;
cout<<"OOOXXXOXOX"<<endl;
cout<<"OOOXOXOXOX"<<endl;
cout<<"XOOXOXOXOX"<<endl;
cout<<"XXOXOXOXOX"<<endl;
cout<<"OXOXOXOXOX"<<endl;
cout<<"OXXXOXOXOX"<<endl;
cout<<"XXXXOXOXOX"<<endl;
cout<<"XOXXOXOXOX"<<endl;
cout<<"OOXXOXOXOX"<<endl;
cout<<"OOXOOXOXOX"<<endl;
cout<<"XOXOOXOXOX"<<endl;
cout<<"XXXOOXOXOX"<<endl;
cout<<"OXXOOXOXOX"<<endl;
cout<<"OXOOOXOXOX"<<endl;
cout<<"XXOOOXOXOX"<<endl;
cout<<"XOOOOXOXOX"<<endl;
cout<<"OOOOOXOXOX"<<endl;
cout<<"OOOOOXXXOX"<<endl;
cout<<"XOOOOXXXOX"<<endl;
cout<<"XXOOOXXXOX"<<endl;
cout<<"OXOOOXXXOX"<<endl;
cout<<"OXXOOXXXOX"<<endl;
cout<<"XXXOOXXXOX"<<endl;
cout<<"XOXOOXXXOX"<<endl;
cout<<"OOXOOXXXOX"<<endl;
cout<<"OOXXOXXXOX"<<endl;
cout<<"XOXXOXXXOX"<<endl;
cout<<"XXXXOXXXOX"<<endl;
cout<<"OXXXOXXXOX"<<endl;
cout<<"OXOXOXXXOX"<<endl;
cout<<"XXOXOXXXOX"<<endl;
cout<<"XOOXOXXXOX"<<endl;
cout<<"OOOXOXXXOX"<<endl;
cout<<"OOOXXXXXOX"<<endl;
cout<<"XOOXXXXXOX"<<endl;
cout<<"XXOXXXXXOX"<<endl;
cout<<"OXOXXXXXOX"<<endl;
cout<<"OXXXXXXXOX"<<endl;
cout<<"XXXXXXXXOX"<<endl;
cout<<"XOXXXXXXOX"<<endl;
cout<<"OOXXXXXXOX"<<endl;
cout<<"OOXOXXXXOX"<<endl;
cout<<"XOXOXXXXOX"<<endl;
cout<<"XXXOXXXXOX"<<endl;
cout<<"OXXOXXXXOX"<<endl;
cout<<"OXOOXXXXOX"<<endl;
cout<<"XXOOXXXXOX"<<endl;
cout<<"XOOOXXXXOX"<<endl;
cout<<"OOOOXXXXOX"<<endl;
cout<<"OOOOXOXXOX"<<endl;
cout<<"XOOOXOXXOX"<<endl;
cout<<"XXOOXOXXOX"<<endl;
cout<<"OXOOXOXXOX"<<endl;
cout<<"OXXOXOXXOX"<<endl;
cout<<"XXXOXOXXOX"<<endl;
cout<<"XOXOXOXXOX"<<endl;
cout<<"OOXOXOXXOX"<<endl;
cout<<"OOXXXOXXOX"<<endl;
cout<<"XOXXXOXXOX"<<endl;
cout<<"XXXXXOXXOX"<<endl;
cout<<"OXXXXOXXOX"<<endl;
cout<<"OXOXXOXXOX"<<endl;
cout<<"XXOXXOXXOX"<<endl;
cout<<"XOOXXOXXOX"<<endl;
cout<<"OOOXXOXXOX"<<endl;
cout<<"OOOXOOXXOX"<<endl;
cout<<"XOOXOOXXOX"<<endl;
cout<<"XXOXOOXXOX"<<endl;
cout<<"OXOXOOXXOX"<<endl;
cout<<"OXXXOOXXOX"<<endl;
cout<<"XXXXOOXXOX"<<endl;
cout<<"XOXXOOXXOX"<<endl;
cout<<"OOXXOOXXOX"<<endl;
cout<<"OOXOOOXXOX"<<endl;
cout<<"XOXOOOXXOX"<<endl;
cout<<"XXXOOOXXOX"<<endl;
cout<<"OXXOOOXXOX"<<endl;
cout<<"OXOOOOXXOX"<<endl;
cout<<"XXOOOOXXOX"<<endl;
cout<<"XOOOOOXXOX"<<endl;
cout<<"OOOOOOXXOX"<<endl;
cout<<"OOOOOOXOOX"<<endl;
cout<<"XOOOOOXOOX"<<endl;
cout<<"XXOOOOXOOX"<<endl;
cout<<"OXOOOOXOOX"<<endl;
cout<<"OXXOOOXOOX"<<endl;
cout<<"XXXOOOXOOX"<<endl;
cout<<"XOXOOOXOOX"<<endl;
cout<<"OOXOOOXOOX"<<endl;
cout<<"OOXXOOXOOX"<<endl;
cout<<"XOXXOOXOOX"<<endl;
cout<<"XXXXOOXOOX"<<endl;
cout<<"OXXXOOXOOX"<<endl;
cout<<"OXOXOOXOOX"<<endl;
cout<<"XXOXOOXOOX"<<endl;
cout<<"XOOXOOXOOX"<<endl;
cout<<"OOOXOOXOOX"<<endl;
cout<<"OOOXXOXOOX"<<endl;
cout<<"XOOXXOXOOX"<<endl;
cout<<"XXOXXOXOOX"<<endl;
cout<<"OXOXXOXOOX"<<endl;
cout<<"OXXXXOXOOX"<<endl;
cout<<"XXXXXOXOOX"<<endl;
cout<<"XOXXXOXOOX"<<endl;
cout<<"OOXXXOXOOX"<<endl;
cout<<"OOXOXOXOOX"<<endl;
cout<<"XOXOXOXOOX"<<endl;
cout<<"XXXOXOXOOX"<<endl;
cout<<"OXXOXOXOOX"<<endl;
cout<<"OXOOXOXOOX"<<endl;
cout<<"XXOOXOXOOX"<<endl;
cout<<"XOOOXOXOOX"<<endl;
cout<<"OOOOXOXOOX"<<endl;
cout<<"OOOOXXXOOX"<<endl;
cout<<"XOOOXXXOOX"<<endl;
cout<<"XXOOXXXOOX"<<endl;
cout<<"OXOOXXXOOX"<<endl;
cout<<"OXXOXXXOOX"<<endl;
cout<<"XXXOXXXOOX"<<endl;
cout<<"XOXOXXXOOX"<<endl;
cout<<"OOXOXXXOOX"<<endl;
cout<<"OOXXXXXOOX"<<endl;
cout<<"XOXXXXXOOX"<<endl;
cout<<"XXXXXXXOOX"<<endl;
cout<<"OXXXXXXOOX"<<endl;
cout<<"OXOXXXXOOX"<<endl;
cout<<"XXOXXXXOOX"<<endl;
cout<<"XOOXXXXOOX"<<endl;
cout<<"OOOXXXXOOX"<<endl;
cout<<"OOOXOXXOOX"<<endl;
cout<<"XOOXOXXOOX"<<endl;
cout<<"XXOXOXXOOX"<<endl;
cout<<"OXOXOXXOOX"<<endl;
cout<<"OXXXOXXOOX"<<endl;
cout<<"XXXXOXXOOX"<<endl;
cout<<"XOXXOXXOOX"<<endl;
cout<<"OOXXOXXOOX"<<endl;
cout<<"OOXOOXXOOX"<<endl;
cout<<"XOXOOXXOOX"<<endl;
cout<<"XXXOOXXOOX"<<endl;
cout<<"OXXOOXXOOX"<<endl;
cout<<"OXOOOXXOOX"<<endl;
cout<<"XXOOOXXOOX"<<endl;
cout<<"XOOOOXXOOX"<<endl;
cout<<"OOOOOXXOOX"<<endl;
cout<<"OOOOOXOOOX"<<endl;
cout<<"XOOOOXOOOX"<<endl;
cout<<"XXOOOXOOOX"<<endl;
cout<<"OXOOOXOOOX"<<endl;
cout<<"OXXOOXOOOX"<<endl;
cout<<"XXXOOXOOOX"<<endl;
cout<<"XOXOOXOOOX"<<endl;
cout<<"OOXOOXOOOX"<<endl;
cout<<"OOXXOXOOOX"<<endl;
cout<<"XOXXOXOOOX"<<endl;
cout<<"XXXXOXOOOX"<<endl;
cout<<"OXXXOXOOOX"<<endl;
cout<<"OXOXOXOOOX"<<endl;
cout<<"XXOXOXOOOX"<<endl;
cout<<"XOOXOXOOOX"<<endl;
cout<<"OOOXOXOOOX"<<endl;
cout<<"OOOXXXOOOX"<<endl;
cout<<"XOOXXXOOOX"<<endl;
cout<<"XXOXXXOOOX"<<endl;
cout<<"OXOXXXOOOX"<<endl;
cout<<"OXXXXXOOOX"<<endl;
cout<<"XXXXXXOOOX"<<endl;
cout<<"XOXXXXOOOX"<<endl;
cout<<"OOXXXXOOOX"<<endl;
cout<<"OOXOXXOOOX"<<endl;
cout<<"XOXOXXOOOX"<<endl;
cout<<"XXXOXXOOOX"<<endl;
cout<<"OXXOXXOOOX"<<endl;
cout<<"OXOOXXOOOX"<<endl;
cout<<"XXOOXXOOOX"<<endl;
cout<<"XOOOXXOOOX"<<endl;
cout<<"OOOOXXOOOX"<<endl;
cout<<"OOOOXOOOOX"<<endl;
cout<<"XOOOXOOOOX"<<endl;
cout<<"XXOOXOOOOX"<<endl;
cout<<"OXOOXOOOOX"<<endl;
cout<<"OXXOXOOOOX"<<endl;
cout<<"XXXOXOOOOX"<<endl;
cout<<"XOXOXOOOOX"<<endl;
cout<<"OOXOXOOOOX"<<endl;
cout<<"OOXXXOOOOX"<<endl;
cout<<"XOXXXOOOOX"<<endl;
cout<<"XXXXXOOOOX"<<endl;
cout<<"OXXXXOOOOX"<<endl;
cout<<"OXOXXOOOOX"<<endl;
cout<<"XXOXXOOOOX"<<endl;
cout<<"XOOXXOOOOX"<<endl;
cout<<"OOOXXOOOOX"<<endl;
cout<<"OOOXOOOOOX"<<endl;
cout<<"XOOXOOOOOX"<<endl;
cout<<"XXOXOOOOOX"<<endl;
cout<<"OXOXOOOOOX"<<endl;
cout<<"OXXXOOOOOX"<<endl;
cout<<"XXXXOOOOOX"<<endl;
cout<<"XOXXOOOOOX"<<endl;
cout<<"OOXXOOOOOX"<<endl;
cout<<"OOXOOOOOOX"<<endl;
cout<<"XOXOOOOOOX"<<endl;
cout<<"XXXOOOOOOX"<<endl;
cout<<"OXXOOOOOOX"<<endl;
cout<<"OXOOOOOOOX"<<endl;
cout<<"XXOOOOOOOX"<<endl;
cout<<"XOOOOOOOOX"<<endl;
cout<<"OOOOOOOOOX"<<endl;
cout<<"OOOOOOOOOO"<<endl;
}
}