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