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