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