The shop is open for 12 hours per day, so it is open for 12 hours x 7 days = 84 hours per week.
In 84 hours, women's T-shirts are sold every 30 minutes, so the number of times they are sold in a week is 84 hours x (60 minutes / 30 minutes) = 168 times.
Each time a women's T-shirt is sold, the shop earns $18, so the total earnings from selling women's T-shirts per week is 168 times x $18 = $3,024.
In 84 hours, men's T-shirts are sold every 40 minutes, so the number of times they are sold in a week is 84 hours x (60 minutes / 40 minutes) = 126 times.
Each time a men's T-shirt is sold, the shop earns $15, so the total earnings from selling men's T-shirts per week is 126 times x $15 = $1,890.
The total earnings from selling T-shirts per week is $3,024 + $1,890 = $4,914.
#### 4914
The answer is: 4914
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
At a shop in Japan, women's T-shirts are sold every 30 minutes for $18, and men's T-shirts are sold every 40 minutes for $15. This shop is open from 10 am until 10 pm. How much does the shop earn selling T-shirts per week?

### Answer:
