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