A salesman packed 3 shirts and 6 ties. With one shirt, he could wear all six ties. With another shirt, he could wear 5 ties. With the 3rd shirt, he could only wear 2 ties. How many different combinations did he have?