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