#include <cstdio>
#include <vector>
class Person{
public:
int age;
int weight;
Person(int age, int weight):age(age), weight(weight){}
};
int main() {
std::vector<Person> ls;
ls.push_back(Person(20, 160));
ls.push_back(Person(25, 180));
ls.push_back(Person(23, 170));
for(auto i=ls.begin();i!=ls.end();++i){
printf("%X %X %d %d\n", &i, &(*i), (*i).age, (*i).weight);
}
}
I2luY2x1ZGUgPGNzdGRpbz4KI2luY2x1ZGUgPHZlY3Rvcj4KY2xhc3MgUGVyc29uewpwdWJsaWM6CiAgICBpbnQgYWdlOwogICAgaW50IHdlaWdodDsKICAgIFBlcnNvbihpbnQgYWdlLCBpbnQgd2VpZ2h0KTphZ2UoYWdlKSwgd2VpZ2h0KHdlaWdodCl7fQp9OwppbnQgbWFpbigpIHsKICAgIHN0ZDo6dmVjdG9yPFBlcnNvbj4gbHM7CiAgICBscy5wdXNoX2JhY2soUGVyc29uKDIwLCAxNjApKTsKICAgIGxzLnB1c2hfYmFjayhQZXJzb24oMjUsIDE4MCkpOwogICAgbHMucHVzaF9iYWNrKFBlcnNvbigyMywgMTcwKSk7CiAgICBmb3IoYXV0byBpPWxzLmJlZ2luKCk7aSE9bHMuZW5kKCk7KytpKXsKICAgICAgICBwcmludGYoIiVYICVYICVkICVkXG4iLCAmaSwgJigqaSksICgqaSkuYWdlLCAoKmkpLndlaWdodCk7CiAgICB9Cn0=