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