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