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