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