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