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