A 2 kg block is lying on a smooth table which is connected by a body of mass 1 kg by a string which passes through a pulley. The 1 kg mass is hanging vertically. The acceleration of block and tension in the string will be