#define _GLIBCXX_DEBUG 1
#define _GLIBCXX_DEBUG_PEDANTIC 1
#define _FORTIFY_SOURCE 2
#include <bits/stdc++.h>
#define all(x) (x).begin(),(x).end()
using vi = std::vector<int>;
int main() {
vi arr{1,2,3,4};
auto ptr = arr.begin();
arr.push_back(5);
std::cout << *ptr << std::endl;
}
I2RlZmluZSBfR0xJQkNYWF9ERUJVRyAxCiNkZWZpbmUgX0dMSUJDWFhfREVCVUdfUEVEQU5USUMgMQojZGVmaW5lIF9GT1JUSUZZX1NPVVJDRSAyCgojaW5jbHVkZSA8Yml0cy9zdGRjKysuaD4KCiNkZWZpbmUgYWxsKHgpICh4KS5iZWdpbigpLCh4KS5lbmQoKQoKdXNpbmcgdmkgPSBzdGQ6OnZlY3RvcjxpbnQ+OwoKaW50IG1haW4oKSB7CiAgICB2aSBhcnJ7MSwyLDMsNH07CiAgICBhdXRvIHB0ciA9IGFyci5iZWdpbigpOwogICAgYXJyLnB1c2hfYmFjayg1KTsKICAgIHN0ZDo6Y291dCA8PCAqcHRyIDw8IHN0ZDo6ZW5kbDsKfQ==