a classroom has equal number of boys and girls . 8 girls left to play kho - kho , leaving twice as many boys as girls in the classroom . what was the total number of girls and boys present initially ?