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