Question 112
Andriy and Olesya write a natural number each on a chalkboard. It turns out, that number, written by Olesya, has sum of digits $2018$ and has precisely $1$ digit less than Andriy's number. It is also known, that difference of numbers, written by him, equals to one-digit number. What can be the number, written by Andriy?