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