amit kumar's submission of No Succession | CodeChef