P.S. If you don't know how to figure out how much cough syrup that is...

Divide 400 by however many milligrams of DXM are in each dose. Then take that many doses.