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