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