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