Ankan's submission of Pattern | CodeChef