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