%apply;top()
[*ancestors]
%if;father.has_parents;
%if;father.father.has_parents;
%if;father.father.father.has_parents;
_____|%apply;access("16","father.father.father.father")%end;
_____|%apply;access("8","father.father.father")
/%if;father.father.father.has_parents; ¯¯¯¯¯|%apply;access("17","father.father.father.mother")%end;%end;
_____|%apply;access("4","father.father")
/%if;father.father.has_parents; \%end;%if;father.father.mother.has_parents; _____|%apply;access("18","father.father.mother.father")%end;
/%if;father.father.has_parents; ¯¯¯¯¯|%apply;access("9","father.father.mother")%end;
/%if;father.father.mother.has_parents; ¯¯¯¯¯|%apply;access("19","father.father.mother.mother")%end;%end;
|%apply;access("2","father")
|%if;father.has_parents; \%end;%if;father.mother.father.has_parents; _____|%apply;access("20","father.mother.father.father")%end;
|%if;father.has_parents; \%end;%if;father.mother.has_parents; _____|%apply;access("10","father.mother.father")%end;
|%if;father.has_parents; \%end;%if;father.mother.has_parents; /%end;%if;father.mother.father.has_parents; ¯¯¯¯¯|%apply;access("21","father.mother.father.mother")%end;
|%if;father.has_parents; ¯¯¯¯¯|%apply;access("5","father.mother")%end;
|%if;father.mother.has_parents; \%end;%if;father.mother.mother.has_parents; _____|%apply;access("22","father.mother.mother.father")%end;
|%if;father.mother.has_parents; ¯¯¯¯¯|%apply;access("11","father.mother.mother")%end;
|%if;father.mother.mother.has_parents; ¯¯¯¯¯|%apply;access("23","father.mother.mother.mother")%end;
|--%apply;access("1","self")
|%if;mother.father.father.has_parents; _____|%apply;access("24","mother.father.father.father")%end;
|%if;mother.father.has_parents; _____|%apply;access("12","mother.father.father")%end;
|%if;mother.father.has_parents; /%end;%if;mother.father.father.has_parents; ¯¯¯¯¯|%apply;access("25","mother.father.father.mother")%end;
|%if;mother.has_parents; _____|%apply;access("6","mother.father")%end;
|%if;mother.has_parents; /%end;%if;mother.father.has_parents; \%end;%if;mother.father.mother.has_parents; _____|%apply;access("26","mother.father.mother.father")%end;
|%if;mother.has_parents; /%end;%if;mother.father.has_parents; ¯¯¯¯¯|%apply;access("13","mother.father.mother")%end;
|%if;mother.has_parents; /%end;%if;mother.father.mother.has_parents; ¯¯¯¯¯|%apply;access("27","mother.father.mother.mother")%end;
|%apply;access("3","mother")
%if;mother.has_parents;
\%if;mother.mother.father.has_parents; _____|%apply;access("28","mother.mother.father.father")%end;
\%if;mother.mother.has_parents; _____|%apply;access("14","mother.mother.father")%end;
\%if;mother.mother.has_parents; /%end;%if;mother.mother.father.has_parents; ¯¯¯¯¯|%apply;access("29","mother.mother.father.mother")%end;
¯¯¯¯¯|%apply;access("7","mother.mother")%end;
%if;mother.mother.has_parents;
\%if;mother.mother.mother.has_parents; _____|%apply;access("30","mother.mother.mother.father")%end;
¯¯¯¯¯|%apply;access("15","mother.mother.mother")
%if;mother.mother.mother.has_parents;
¯¯¯¯¯|%apply;access("31","mother.mother.mother.mother")%end;%end;
%end;
%define;individu(nz)