#include <bits/stdc++.h>
using namespace std;
void showlist(list <int> g)
{
list <int> :: iterator it;
for(it = g.begin(); it != g.end(); ++it)
cout << '\t' << *it;
cout << '\n';
}
int main() {
// your code goes here
list<int >s;
s.push_front(2);
s.push_front(3);
s.push_front(2);
s.push_front(2);
showlist(s);
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnZvaWQgc2hvd2xpc3QobGlzdCA8aW50PiBnKQp7CiAgICBsaXN0IDxpbnQ+IDo6IGl0ZXJhdG9yIGl0OwogICAgZm9yKGl0ID0gZy5iZWdpbigpOyBpdCAhPSBnLmVuZCgpOyArK2l0KQogICAgICAgIGNvdXQgPDwgJ1x0JyA8PCAqaXQ7CiAgICBjb3V0IDw8ICdcbic7Cn0KaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCmxpc3Q8aW50ID5zOwpzLnB1c2hfZnJvbnQoMik7CnMucHVzaF9mcm9udCgzKTsKcy5wdXNoX2Zyb250KDIpOwpzLnB1c2hfZnJvbnQoMik7CnNob3dsaXN0KHMpOwoJcmV0dXJuIDA7Cn0=