#include "iostream.h"
#include "string"
#include "list"using std::string;
using std::list;void main ()
{
list<string> test;
list<string>::iterator arr;
//add element
test.push_back("no4");
test.push_back("no5");
test.push_front("no3");
test.push_front("no2");
test.push_front("no1"); test.push_front("**start**");
test.push_back("end"); for(arr = test.begin(); arr != test.end(); ++arr)
{
cout<<*arr<<endl;
}
int a = 0;
cin>>a;
}