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