#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<int> v {1, 2, 3, 4};
for (x : v)
cout << x << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewoJdmVjdG9yPGludD4gdiB7MSwgMiwgMywgNH07CgoJZm9yICh4IDogdikKICAgIAljb3V0IDw8IHggPDwgZW5kbDsKCglyZXR1cm4gMDsKfQ==