code: def print_splits(cliques, next_cliques):
      
      splits = 0
      for i, clique in enumerate(cliques):
          parent, _ = clique
  
          # If this fork continues
          if parent in next_cliques:
              # If there is a new fork, print a split
              if len(next_cliques[parent]) > 1:
                  print_split(i + splits, len(cliques) + splits)
                  splits += 1
docs: Print shifts for new forks.