Hector bought a pencil for 30¢ and a compass for 17¢. How much total money did he spend?