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