#include <iostream>
#include <list>
using namespace std;
typedef list<int> IntegerList;
int main()
{
IntegerList intList;
for (int i=1; i<=10; ++i)
intList.push_back(i * 2);
for (auto ci = intList.begin(); ci != intList.end(); ++ci)
cout << *ci << " ";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bGlzdD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnR5cGVkZWYgbGlzdDxpbnQ+IEludGVnZXJMaXN0OwoKaW50IG1haW4oKQp7CiAgSW50ZWdlckxpc3QgaW50TGlzdDsKICBmb3IgKGludCBpPTE7IGk8PTEwOyArK2kpCiAgIGludExpc3QucHVzaF9iYWNrKGkgKiAyKTsKICBmb3IgKGF1dG8gY2kgPSBpbnRMaXN0LmJlZ2luKCk7IGNpICE9IGludExpc3QuZW5kKCk7ICsrY2kpCiAgIGNvdXQgPDwgKmNpIDw8ICIgIjsKfQo=