Akash Kandpal's submission of LOGICAL Pattern | CodeChef