#include<iostream.h>
#include<LINK/basic/List.h>

#include<LINK/basic/DList.h>

main()
{
	List<int> l;

	l.insert(5);
	l.insert(4);
	l.insert(3);

	DList<int> dl(l);

	if (dl == l)
	   cout << "they have the same elements in the same order" << endl;
	dl.append(7);

	cout << dl << endl; 
	cout << l << endl; 
}
