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