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