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