jay patel's submission of Counting Flags | CodeChef