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