One day, the ratio of students in the seventh grade who ate the school lunch to students who brought a lunch was 27/5 If 135 students ate the school lunch, how many students brought a lunch?

Let's denote the number of students who brought a lunch as x.

Given that the ratio of students who ate the school lunch to students who brought a lunch is 27/5, we can set up the following proportion:

27/5 = 135/x

Cross multiply to solve for x:

27x = 135 * 5
27x = 675
x = 675 / 27
x = 25

Therefore, 25 students brought their lunch.