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