biginnnner's submission of Logan and his STRING dilemma | CodeChef