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