How many positive integers up to 2012 have the ones (units) digit either 1 or 0?
There are 245 numbers with units digit 0 or 1.