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