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