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