Avtans Kumar's submission of StringCode | CodeChef