Michael writes down all the integers between 1 and N inclusive on a piece of paper and discovers that exactly 40% of them have leftmost digit 1. Given that N>2017, find the smallest possible value of N.
Sign in to check your answer and unlock the solution.