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