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