There are Number cards ”3”、”4”、”5” with 10 cards each ,choose any 8

cards to sum up to 31,then what is the maximum number of cards “3” in
the combination?

eight "3" cards gives 24

... 7 shy of 31

replace four "3" cards with three "5" cards and a "4" card