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