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