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