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