All the students in a class are planning to do a trip. Not all of the students can afford it, and it is considered shameful to reveal their poverty. So it is suggested that anyone can donate anonymously to a fund. If the fund becomes big enough to cover the trip, the trip happens. If not, the donators gets their money back, preserving anonymity of who donated and who didn't.
Is this possible?