Laura and Tim planted the same number of flowers by the end of the day. Laura planted 15 flowers. In the morning, Tim planted 8 more flowers than Laura. The ratio of Laura’s remaining flowers to Tim’s remaining flowers is 3:5. What is the total number of flowers they planted by the end of the day?