#include <iostream>
using namespace std;

    class World {
    private:
        static const size_t COLS = 5;
        static const size_t ROWS = 9;
        char worldarr[COLS][ROWS] = 
        {
	    	{'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X'}, //the length of these entries are actually
	        {'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X'}, //50 but I shortened them for the post
	        {'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X'},
	        {'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X'},
	        {'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X', 'X'},
        };
    public:
        char* operator[](int indx) {
        	return worldarr[COLS - (indx + 1)];
        }
        
        void print() {
        	for(int c = 0; c < COLS; c++) {
        		for(int r = 0; r < ROWS; r++) {
        			std::cout << worldarr[c][r];
        		}
        		std::cout << std::endl;
        	}
        }
    };

int main() {
	World w;
	w[0][0] = '@';
	w.print();
	
	return 0;
}