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