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