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