RGB_ICPC7's submission of Counting Spaghetti | CodeChef