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