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