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