A light string passing over a smooth light pulley connects two blocks of masses m1 and m2 (vertically). If the acceleration of the system is g/8 then the ratio of the masses is