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