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