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