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