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