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