#include <iostream>
#include <vector>
using namespace std;
class A
{
public:
A(){std::cout << "constr" << std::endl;}
~A(){std::cout<<"dest"<<std::endl;}
};
int main() {
std::vector<A> a;
a.emplace_back();
a.emplace_back();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgQQp7CnB1YmxpYzoKCUEoKXtzdGQ6OmNvdXQgPDwgImNvbnN0ciIgPDwgc3RkOjplbmRsO30KCX5BKCl7c3RkOjpjb3V0PDwiZGVzdCI8PHN0ZDo6ZW5kbDt9Cn07CgppbnQgbWFpbigpIHsKCXN0ZDo6dmVjdG9yPEE+IGE7CglhLmVtcGxhY2VfYmFjaygpOwoJYS5lbXBsYWNlX2JhY2soKTsKCQoJcmV0dXJuIDA7Cn0=