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