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