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