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