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