public class Egt {
	private Pessoa pessoa;
	private Egt next;
	public static boolean v;
	public void insert(Pessoa pessoa) {
		if (this.pessoa == null) {
			this.pessoa = pessoa;
			this.next = new Egt();
		}else if (pessoa.getCnt() < this.pessoa.getCnt()) {
			Pessoa sup = this.pessoa;
			this.pessoa = pessoa;
			this.next.insert(sup);
		}else {
			this.next.insert(pessoa);
		}
	}
	public boolean print(Egt eae) {
		if (eae.pessoa == null) {
			return true;
		}
		if (!(v)) {
			System.out.println("Egito Antigo:");
			System.out.println(eae.pessoa.getName());
			v = true;
		}else {
			System.out.println(eae.pessoa.getName());
		}
		return print(eae.next);
	}
}