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