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