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