In the lab, Kala has two solutions that contain alcohol and is mixing them with each other. Solution A is 12% alcohol and Solution B is 40% alcohol. She uses 1000 milliliters of Solution A. How many milliliters of Solution B does she use, if the resulting mixture is a 20% alcohol solution?