Ninad Sutrave's submission of Total Components | CodeChef