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