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