设男生有x,
88x+93×18=90×(18+x),
88x+1674=1620+90x,
88x+1674-1620=1620+90x-1620,
88x+54-88x=90x-88x,
54÷2=2x÷2,
x=27,
答:男生有27人.