Two samples A and B of a gas initially at the same pressure and temperature are compressed from volume V to V/2 ( A isothermally and B adiabatically). The final pressure of A is