Machines A, B, and C can either load nails into a bin or unload nails from that bin. Each machine works at a constant rate that is the same for loading and for unloading, although the individual machines may have different rates. Working together to load at their respective constant rates, machines A and B can load the bin in 6 minutes. Likewise, working together to load at their respective constant rates, machines B and C can load the bin in 9 minutes. How long will it take machine A to load the bin if machine C is simultaneously unloading the bin?