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