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