Choose the correct sentence ?

Answer: 
You, he and I were present in the class
Choose the correct sentence ?