Im giving this problem.

You can train 3 different types of armies.

Army type 1, you can train 1 unit in 2 seconds, and will give you power of 4.

Army type 2, you can train 1 unit in 10 second, and will give you power of 8.

Army type 3, you can train 1 unit in 24 seconds, and will give you power of 16.

If you have a limited space of 2.43 billion units.

Question: Using army type 1,2 and/or 3. Find the most efficient way to maximize power, in the least amount of time, before running out of capacity.

Note. you train 3 different armies at the time.