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