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