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