#include
#include
#include
using namespace std;
template
void print(T& c){
for( typename T::iterator i = c.begin(); i != c.end(); i++ ){
std::cout << *i << endl;
}
}
int main(){
set first;
first.insert("A");
first.insert("B");
first.insert("C");
cout << first.size() << endl;
set second (first); // Copy constructor
second.insert("I");
second.insert("S");
swap(first, second);
set third = first;
print(first);
print(second);
print(third);
}