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