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