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