subhashis mollick's submission of Total Components | CodeChef