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