There are 3 times elephants compared to giraffes in the safari. If there is a total of 88 elephants and giraffes,how many elephants are there in the safari?