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