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