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