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