A doctor ordered a patient to exercise. The patient ealked for 147 minutes in 2 weeks. The ratio of the time for the first week to the time for the second week is 8:13. How many minutes did the patient walk each week?