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