During the summer vacation, Xiaolin and Xiaojun both went to swimming training. Xiaolin went there once every 6 days, and Xiaojun went there every 8 days. One day they both participated in swimming training at the same time. How many days later did they participate in training at the same time again?
暑假期间小林和小军都去参加游泳训练，小林每6天去一次，小军每8天去一次，某天两人同时参加了游泳训练，多少天后他们再次同时参加训练？
<gadget id="calculator">2 * 2 * 2 * 3</gadget>
<output>24</output>

<result>24</result>