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