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