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