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