Ninad Sutrave's submission of Pattern | CodeChef