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