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