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