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