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