#include <iostream>
#include <vector>
using namespace std;
template <class T>
struct MyVector : public vector<T>
{
T & operator[](unsigned i)
{
return vector<T>::at(i);
}
};
#define vector MyVector
int main()
{
vector<int> v;
v.push_back(2);
cout << v[0] << endl;
cout << v[1] << endl;
return 0;
}