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