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