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