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