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