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