# coding=utf-8 name = 'connected/3' slug = 'check if two people are connected in the family tree' description = '''\

connected(X, Y, N): X and Y are connected with a series of (no more than N) parent/child relations.

?- connected(ana, morty, 10).
  false.
?- connected(ana, margaret, 10).
  true.
''' hint = {}