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