The students of class 5 and 1 performed in a queue, and there were no leftovers in each row of 8 or 12 people. It is known that the number of students in Class 51 is more than 40 and less than 50, so how many students are there in Class 51?
五1班学生进行队列表演，每行排8人或12人都正好没有剩余．已知五1班学生人数比40多，比50少，那么五1班有多少人？
<result>48</result>