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