Anup Ghosh's submission of Positive Prefixes | CodeChef