Three-digit numbers not divisible by 3

Problem
How many three-digit numbers are not divisible by 3?
 

Solution