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