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