#include <list>
#include <iostream>
int main() {
std::list<int> alist;
alist.push_back(0);
alist.push_back(1);
alist.push_back(2);
std::list<int>::iterator iter = alist.begin();
std::cout << *iter << std::endl;
--iter;
std::cout << *iter << std::endl;
}
I2luY2x1ZGUgPGxpc3Q+CiNpbmNsdWRlIDxpb3N0cmVhbT4KCmludCBtYWluKCkgewoJc3RkOjpsaXN0PGludD4gYWxpc3Q7CglhbGlzdC5wdXNoX2JhY2soMCk7CglhbGlzdC5wdXNoX2JhY2soMSk7CglhbGlzdC5wdXNoX2JhY2soMik7CgoJc3RkOjpsaXN0PGludD46Oml0ZXJhdG9yIGl0ZXIgPSBhbGlzdC5iZWdpbigpOwoJc3RkOjpjb3V0IDw8ICppdGVyIDw8IHN0ZDo6ZW5kbDsKCS0taXRlcjsKCXN0ZDo6Y291dCA8PCAqaXRlciA8PCBzdGQ6OmVuZGw7Cn0=