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