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