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