Machine A can fill 1 box of nails in 6 minutes. Machine B can fill 1 box of nails in 9 minutes. They started to work at the same time and they stopped also at the same time. In all they filled 100 boxes. How many were filled by machine A?