41. The ratio of the number of stamps owned by A and B is 5:3. If A gives 10 stamps to B, then the ratio of the number of stamps owned by A and B becomes 7:5. The total number of stamps owned by the two is $\qquad$.

将上面的文本翻译成英文，请保留源文本的换行和格式，直接输出翻译结果。
Reference answer: 240