Josh spent 32 minutes walking his dog around the neighborhood. Then, he spent 21 minutes playing fetch with his dog in his backyard. How much time did Josh spend with his dog?