400
400: Check both remaining targets before overtaking
A partner who is currently winning may already have reached their bid or may still need this trick. Your own shortfall can point the other way. There is no universal rule to always overtake or always leave a partner's winner.
Try this example
Your partner needs this final trick to make a bid. You already made yours and can legally play either a lower or a higher heart. What does overtaking change?
Show the solution
It gives the trick to you, potentially causing your partner's bid to fail. Leaving the lower heart preserves your partner's winner if nobody else can beat it. Check the whole trick before choosing.