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