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