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