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