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