#include <algorithm>
using namespace std;
int main()
{
    string str[] = {"alex","john","robetr"};
    vector<int> v1;
    vector<int> v2(10);
    vector<int> v3(10,0);
    vector<string> v4(str+0,str+3);
    vector<string>::iterator sIt = v4.begin();
    while(sIt != v4.end())
        cout<<*sIt++<<" ";
    cout<<endl;
    vector<string> v5(v4);
    for(int i=0;i<3;i++)
        cout<<v5[i]<<" ";
    cout<<endl;
    getchar();
    return 0;
}