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