After mixing gases A and B in the system A + B = C + D equilibrium is established at the following concentrations: B = 0.5 mol/l, C = 0.2 mol/l. The equilibrium constant of the reaction is 4*10^-2. Find the initial concentrations of substance A and B