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