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