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