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