Because * * * donated 100 yuan, the equation can be listed as follows:
1 1 1+2 X+(34-X)5 = 100
The solution is X=27.
So 27 people donated two yuan and seven people donated five yuan.