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