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