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