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