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