Teaser 2937: Long division

From The Sunday Times, 6th January 2019 [link]

I wrote down a 2-digit number and a 5-digit number and then carried out a long division.

I then erased all of the digits in the calculation, other than the 1’s, and so finished up with the image above.

If I told you how many different digits I had erased, then you should be able to work out my two original numbers.

What were my two original numbers?