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