Two blocks A and B of mass 2 kg and 4 kg are placed one over the other. A horizontal force F=2t, which varies with time is applied on the upper block. If coefficient of friction between blocks A and B is 0.5 and horizontal surface is smooth. Then assuming t is in seconds, the total time upto which both blocks will move together without slipping over each other is