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