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