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