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