aman agarwal's submission of Counting Spaghetti | CodeChef