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