Landen bought a pen for $2, a soccer ball for $19 and a video game for $23. Later he returned the video game, got his money back and bought a book for $32. How much money did he spend?