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