Read the excerpt from Jesus of Nazareth's Sermon on the Mount (ca. 30 CE), then answer the following question:

Chapter 5

1. Seeing the multitudes, he went up onto the mountain. When he had sat down, his disciples came to him.
2. He opened his mouth and taught them, saying,
3. "Blessed are the poor in spirit, For theirs is the Kingdom of Heaven.
4. Blessed are those who mourn, For they shall be comforted.
5. Blessed are the gentle, For they shall inherit the earth.
6. Blessed are those who hunger and thirst after righteousness, For they shall be filled.
7. Blessed are the merciful, For they shall obtain mercy.
8. Blessed are the pure in heart, For they shall see God.
9. Blessed are the peacemakers, For they shall be called sons of God.
10. Blessed are those who have been persecuted for righteousness' sake, For theirs is the Kingdom of Heaven.
11. "Blessed are you when people reproach you, persecute you, and say all kinds of evil against you falsely, for my sake.
12. Rejoice, and be exceedingly glad, for great is your reward in heaven. For that is how they persecuted the prophets who were before you.

Chapter 6

1. "Be careful that you don't do your charitable giving before men, to be seen by them, or else you have no reward from your Father who is in heaven.
2. Therefore when you do merciful deeds, don't sound a trumpet before yourself, as the hypocrites do in the synagogues and in the streets, that they may get glory from men. Most assuredly I tell you, they have received their reward.
3. But when you do merciful deeds, don't let your left hand know what your right hand does,
4. so that your merciful deeds may be in secret, then your Father who sees in secret will reward you openly.

Question:
According to Jesus, people should do charitable works in this manner:
A. Publicly in order to inspire others
B. Secretly without seeking attention