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