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