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