#include <iostream>
using namespace std;
#include <vector>
#include <string.h>
int main(){
char score[10][10] = {'x'};
cout<< " a b c d e f g h i j"<< endl;
cout <<" +-------------------+"<< endl;
for (int i = 0; i < 10; i++) {
cout<<" "<< i <<"|" ;
for (int j = 0; j < 10; j++) {
cout << score[i][j];
}
if(i == 0){
cout << " |";
}
else{
cout << " |";
}
cout<< endl;
}
cout <<" +-------------------+"<< endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8c3RyaW5nLmg+CgppbnQgbWFpbigpewoKY2hhciBzY29yZVsxMF1bMTBdID0geyd4J307CgoKY291dDw8ICIgICBhIGIgYyBkIGUgZiBnIGggaSBqIjw8IGVuZGw7CmNvdXQgPDwiICArLS0tLS0tLS0tLS0tLS0tLS0tLSsiPDwgZW5kbDsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgMTA7IGkrKykgewogICAgICAgIGNvdXQ8PCIgIjw8IGkgPDwifCIgOwogICAgICAgIGZvciAoaW50IGogPSAwOyBqIDwgMTA7IGorKykgewogICAgICAgICAgIGNvdXQgPDwgc2NvcmVbaV1bal07CiAgICAgICAgfQogICAgICAgICAgICBpZihpID09IDApewogICAgICAgICAgICAgICAgY291dCA8PCAiICAgICAgICAgICAgICAgICAgfCI7CgogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2V7CiAgICAgICAgICAgICAgICBjb3V0IDw8ICIgICAgICAgICAgICAgICAgICAgfCI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgY291dDw8IGVuZGw7CgogICAgfQogICAgY291dCA8PCIgICstLS0tLS0tLS0tLS0tLS0tLS0tKyI8PCBlbmRsOwoKfQ==