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