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