For an adjective that ends in an e you would put el before it because it is masculine. If the adjective ends in an a you would put la before it because it is a feminine.
The answer is: Ernesto (El) tiene que poner los regalos en la sala.
This means that he has to put the presents in the living room.
En mi clases hay 44 estudiantes