Paul bought 9 total shirts for a total of $72. Tee shirts cost $10 and long sleeve shirts cost $7. How many of each type of shirt did he buy?