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