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