Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: the ages of patrick and michael are in the ratio of 3 : 5 and that of michael and monica are in the ratio of 3 : 5 . if the sum of their ages is 148 , what is the difference between the ages of patrick and monica ?
48