单项选择题

It was ______ me to lose my temper at the sight of their proud looks.

A. stupid for
B. stupid of
C. foolish
D. foolishly