#include <iostream>
#include <vector>
#include <string>
#include <algorithm>

using namespace std;

class dog
{
public:
    dog(const string name) : m_name(name) {}
    string getName() const { return m_name; }
private:
    string m_name;
};

vector<string> getListOfDogNames()
{
	 return vector<string>{"Spike", "Spot", "George", "Shadow"};
}

int main()
{
    vector<string> dogNames = getListOfDogNames();
    vector<dog> dogs(dogNames.begin(), dogNames.end());
    for(auto &d: dogs) {
        cout << d.getName() << endl;	
    }
	return 0;
}