LoC July 2018 | CodeChef