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