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