Dominik bought a pencil for 22¢ and a pen for 12¢. How much money did he spend?