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