# Count and count...

**Discrete Mathematics**Level 1

If you write all the whole numbers upto 100000, the number of times you write the digit '1' is A and the number of times you write the digit '2' is B. what is the value of A-B ?

Note : if you write 11 , then you will count it as writing '1' twice.