anushka tayal's submission of PATTERN | CodeChef