A student ran a distance of 3 miles each day for 5 days. Then the student ran a distance of 4 miles each day for the next 5 days. What was the total distance in miles the student ran during these 10 days?
A 23 mi
B 38 mi
C 42 mi
D 35 mi​