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