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