Атанас Димитров's submission of Good Prefix | CodeChef