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