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