Siti and Zafri had some money in the ratio 3:4. They bought a present for their mother and shared the cost in the ratio 2:3. Siti used \( {1 \over 2}{}{}\) of her money to pay for her share. Zafri, after paying for his share, had $21 left. How much did the present cost?