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