5. Tang僧 and his four disciples arrived at the territory of the Flaming Mountain, where the weather was scorching, and they were all thirsty. Wukong and Bajie went to a mountain village 10 li away to find watermelons. The number of watermelons Bajie found was 3 times that of Wukong. They happily carried all the watermelons back. However, Bajie, being greedy, would stop to eat 5 watermelons every 3 li on the way back. When the two returned to Tang僧, Bajie’s watermelons were only 3 more than Wukong’s. Initially, they found $\qquad$ watermelons in total.