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