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