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