Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
If Lyn donates $240 to a private organization each year where 1/3 of it goes to the community pantry project, 1/2 goes to the local crisis fund, 1/4 of the remaining goes to livelihood project funds, and the rest is for contingency funds. How much goes to contingency fund?

### Response:
The community pantry project gets 240 x 1/3 = $<<240*1/3=80>>80.
The local crisis fund has 240 x 1/2 = $<<240*1/2=120>>120.
So, the total funds allocated for the two funds is $120 + $80 = $<<120+80=200>>200.
The total remaining funds for the other 2 funds is $240 - $200 = $<<240-200=40>>40.
The livelihood project fund has $40 x 1/4 = $<<40*1/4=10>>10.
So, the contingency fund is equal to $40 - $10 = $<<40-10=30>>30.
#### 30