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