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