Three friends, returning from a movie, stopped to eat at a restaurant. After dinner, they paid their bill and noticed a bowl of mints at the front counter. Sita took one-third of the mints, but returned four. Fatima then took one-fourth of what was left but returned three. Eswari then took half of the remainder but threw two back. The bowl had only 17 mints left. How many mints were originally in the bowl?