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