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