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