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