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