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