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