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