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