Rob spent $38 on shirts. Tee shirts cost $4 and long sleeve shirts cost $5. If he bought a total of 8 then how many of each kind did he buy?