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