You look at the best five card hand of each player;
Player A has AsKsTs8s5s
Player B has AsKsTs7s5s
Player C has AsKsTs5s3s
So yeah, player A wins because he has the highest flush hand. Also to note is that if player D has 3h2s then he will have the same hand as player C.
And Welcome to FTR!