400
400: Legal does not automatically mean useful
If you are void in the led suit, either trumping or discarding may be legal. Compare the existing winning heart before spending yours. A lower heart will not win simply because it is trump, and keeping it may serve a later trick.
Try this example
Diamonds are led and Q♥ is already on the table. You have no diamonds and hold 4♥ and 3♠. Does playing 4♥ win?
Show the solution
No. Q♥ remains higher. Either card is legal, but 4♥ spends a trump without taking this trick. A spade discard preserves that heart for another opportunity.