What's the function of the three input resistors in the below circuit?
Those are "bleeder" or "discharge" resistors. They drain off the high-voltage charge on C3 when the power is removed. Else C3 could retain a charge that could injure someone working on the circut, even after removing the power.