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