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