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