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