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