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