You have a ml container, a ml container, and a ml container. You are given the task of measuring out ml in both of the latter containers. The first container is full, while the other containers are empty. A transfer of liquid is counted as filling a bottle, emptying a bottle, or transferring from one bottle to another. What is the minimum number of transfers to accomplish this task?