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