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