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