According to statistics, a person will devote 32 years to sleeping and watching TV. The number of years sleeping will exceed the number of years watching TV by 22. Over the lifetime, how many years will the person spend on each of these activities?