There are x giraffes at the zoo. The number of elephants is 4 less than three times the number of giraffes, and there are more than 23 elephants.