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