LoC June 2017 | CodeChef