Zhang Yide's submission of Pattern matching | CodeChef