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