In a program,class 7 students planted as many trees as their number in class. If total planted trees =144.Find how many students were there ?

Looks like 12 to me, since 144 = 12*12