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