Kevin Sun's submission of Prefix And | CodeChef