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