A volleyball team scored 17 more points in its first game than in its third game. In the second game, the team scored 23 points. The total number of points scored was less than 60. What is the greatest number of points the team could have scored in its first game?