#include <iostream>
#include <vector>
int main() {
std::vector<bool> v = { true, true, true };
std::cout << (*(v.end() - 1)) << std::endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgoKaW50IG1haW4oKSB7CiAgICBzdGQ6OnZlY3Rvcjxib29sPiB2ID0geyB0cnVlLCB0cnVlLCB0cnVlIH07CiAgICBzdGQ6OmNvdXQgPDwgKCoodi5lbmQoKSAtIDEpKSA8PCBzdGQ6OmVuZGw7Cn0K