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