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