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