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