There are 6 baskets on the table. Each basket has 9, 17, 5, 8, 0 and 4 apples. Olivia chose fifth, Emma chose third, Matt chose sixth, John chose first, Sean chose fourth, and Liam chose second. How many apples did Matt and Sean choose in total?