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