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