142
Since all the digits in what are subtracting are lower than the corresponding digits in the other number, we can subtract digit-wise. The 100 stays the same, 80 - 40 = 40, and 7 - 5 = 2. The total is 142.