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