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