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