Sayed Atif Ali's submission of W String | CodeChef