#include <iostream>
#include <iomanip>
#include <vector>
using namespace std;

int main ()
{
	vector <int> v (5, -1);
	vector <int> :: iterator itr=v.begin();

    const unsigned size = v.size() ;
 	for (unsigned i=0; i < size; ++i)
	     itr = v.insert(itr, i) + 2 ;

    for ( auto e : v )
    	cout << setw(2) << e << '\n' ;

	return 0;
}