LoC July 2017 | CodeChef