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