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