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