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