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