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