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