Sayed Atif Ali's submission of A Story with Strings | CodeChef