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