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