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