How many 10-bit strings of weight 6 start with or end with or both?