#include #include #include #include #include #include using namespace std; string cisla[][9]={ { "+---+", "| |", "| |", "+ +", "| |", "| |", "+---+" }, { " +", " |", " |", " +", " |", " |", " +" }, { "+---+", " |", " |", "+---+", "| ", "| ", "+---+" }, { "+---+", " |", " |", "+---+", " |", " |", "+---+" }, { "+ +", "| |", "| |", "+---+", " |", " |", " +" }, { "+---+", "| ", "| ", "+---+", " |", " |", "+---+" }, { "+---+", "| ", "| ", "+---+", "| |", "| |", "+---+" }, { "+---+", " |", " |", " +", " |", " |", " +" }, { "+---+", "| |", "| |", "+---+", "| |", "| |", "+---+" }, { "+---+", "| |", "| |", "+---+", " |", " |", "+---+" }, { " ", " ", " o ", " ", " o ", " ", " " }, }; int main(){ string s; vector > res; while(cin>>s){ if(s=="end") break; res.clear(); res.resize(7); for(int i=0;i