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