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