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