Find a solution for this math problem: In a class, there were 13 female students. There were three times as many male students in this class. How many students were in the class?