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