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