#include <string>
#include "Person.h"

Person::Person(const string &nm, int a): name(nm), age(a) {}

const string& Person::getName() const {
  return name;
}

int Person::getAge() const {
  return age;
}

bool Person::operator<(const Person &other) const{
  return age < other.age;
}