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