Bus A and Bus B leave the bus depot at 5 pm. Bus A takes 30 minutes to complete its route once and bus B takes 35 minutes to complete its route once. If both buses continue to repeat their route, at what time will they be back at the bus depot together? Assume the buses have no breaks in between routes. Give your answer as a 12-hour clock time.