Question 469239
Let N be the set of 5 cards in hearts that are not flushes. 
The set N is called a straight flush. They beat any other poker hand including a flush.
There are 10 possible straight flushes in a suit A2345 to TJQKA.
There are 4 different suits.
10C1 * 4C1 = 40 possible straight flushes.
.
Ed