A vessel contains two gases A and B in the mass ratio 2:1 respectively. If the above gas mixture is allowed to diffuse through a hole, the molar composition of the mixture coming initially out of the hole is 1:4. Find the simplest whole number ratio of the moles of gases B and A present in the vessel in the beginning respectively.