Statistics - Beads and wires (APIO14_beads)

Problem Source