BFFs solutions

BFFs was solved using D by 3 contestants. Solution sizes: average 1613 bytes (shortest: 1067; longest: 2230).