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