October Challenge 2018 | CodeChef