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