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