The vapor density of gas A is four times that of B. If the molecular mass of B is M, then the molecular mass of A is: