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