Three liquids A,B and C of masses 400gm, 600gm and 800gm are at 300C, 400C and 500C respectively. When A and B are mixed, resultant temperature is 360C and when B and C are mixed, resultant temperature is 440C. The ratio of their specific heats are :