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