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