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