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