$A$ and $B$ start a business with initial investments in the ratio $12:11$ and their annual profits were in the ratio $4:1$. If $A$ invested the money for $11$ months, $B$ invested for: