using namespace std;
#include <iostream>
#include <string>
#include <vector>

#define println(data) cout << data << endl

#define Array vector
#define len(ary)  (int)ary.size()
#define del(ary, position)  ary.erase(ary.begin() + position)

#define printArray(ary) \
            cout << "[ "; \
            for(int i = 0; i< (int)ary.size(); i++) \
                cout << ary[i] << " "; \
            cout << "]" << endl

int main() {
    Array <int> myAry = { 10, 20, 30 };
    myAry.push_back(40);

    printArray(myAry);
    println("¹è¿­ Å©±â -->" + to_string(len(myAry)));
    del(myAry, 2);
    printArray(myAry);
}