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