How many numbers are less than 1000 that contain only the digits 5 or 6 or both 5 or 6? A digit may be used more than once.