October Challenge 2017 | CodeChef