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