At full capacity, one trolley holds 48 people. Another trolley holds 36 people at full capacity. Yesterday each trolley made 17 trips at full capacity. How many people rode the trollies yesterday?