Input
3 ------------------ --------AA-------- ------AAAAAA------ ----AAAAAAAAAA---- --------AA-------- ------AAAAAA------ ----AAAAAAAAAA---- --------AA-------- ------AAAAAA------ ----AAAAAAAAAA---- --------OO-------- --------OO-------- --------OO--------
Output
- 2 skeins of yarn - - 1 skeins of yarn A - 1 skeins of yarn O