Abdi has two electric train sets: A and B. Each train is on its own circular track. He starts both trains at the same time. Train A returns to its starting point every 12 seconds. Train B returns to its starting point every 9 seconds. If the trains continue traveling, what is the least amount of time, in seconds, that both trains will arrive at the starting points at the same time?