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