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