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