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